Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Merging images, applying color saving in color and in black & white?
#3
Same as Ofnuts easier with ImageMagick (IM) although it does depend on those 'color filters you want to use. 
Looking through my IM notes, I can maybe help a little, save a hunt through the IM documentation.

This is for a single image  It needs to be wrapped up in a Windows batch file (I use linux, no good with Win bat files )

Code:
magick fg.png -colorspace gray -fill "rgb( 0, 128, 0)" -tint 100 temp01.png
magick fg.png -colorspace gray -fill "rgb( 128, 0, 0)" -tint 100 temp02.png
magick composite -gravity center temp01.png  bg.png temp03.png
magick composite -gravity center -geometry +20+20  temp02.png temp03.png colored.png
magick colored.png -colorspace gray gs.png

Just linear application of commands (1) and  (2) colorise the overlay. (3) adds first overlay (4) adds second overlay at an offset (5) makes new greyscale from (4)  

   
Reply


Messages In This Thread
RE: Merging images, applying color saving in color and in black & white? - by rich2005 - 03-30-2021, 10:07 AM

Forum Jump: