I've read all the IM examples about 50 times over, searched the forums for many different strings with no results.
In Photoshop this is easy, but i don't want to do this for just 1 image, i want to do it with Imagemagick for lots and lots of images.
I have many images, the colorspace is RGBA, the alpha channel is not important at the moment.
The Green channel holds all the information where the Blue and Red channels are pure black.
All i need to do is, fill the Red channel with a grey tone, CMYK 50,50,50,50 to be precise.
I've tried and tried and i cannot get this to work because it looks like the -fill option doesn't support the -channel option which imo is silly.
so far i have this non-working script (and many others)
Code: Select all
@ECHO OFF
SET IMDIR=C:\Program Files\ImageMagick-6.5.3-Q16
SET APP=convert.exe
"%IMDIR%\%APP%" test_n.tga -channel R -fill "cmyk(50,50,50,50)" test_n2.tga
PAUSE
I feel like an idiot asking for what i would think is such a simple problem, but never the less everything i try fails.
Any help is greatly appreciated, cheers
-Jenkins