Change Image Color

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
ScottGaines
Posts: 7
Joined: 2009-11-09T14:59:22-07:00
Authentication code: 8675309

Re: Change Image Color

Post by ScottGaines »

so far i seem to have been able to convert a eps to png and retain transparency (full transparency only) while keeping all colors correct by using
convert -channel rgba -colorspace rgb -background none myeps.eps mypng.png

if you convert a eps to a txt the color white shows as
79,0: ( 0, 0, 0, 0) #0000000000000000 black
while black is something like
78,0: ( 0, 0, 0,34952) #0000000000008888 black

it seems the when the switch is made from cmyk to rgba it gets confused on the colors. this also seems to work with pdf files. so far i have no issues

using IM-6.5.7-Q16 and GS8.70
Post Reply