Retain color mode of image

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?".
Post Reply
pushpendra.singh
Posts: 1
Joined: 2013-02-27T00:16:27-07:00
Authentication code: 6789

Retain color mode of image

Post by pushpendra.singh »

Hi ,

i am using Imagemagick to perform the image conversion.I wanted to retain the color of image while converting.
Please let me know the parameter i need to use to achieve...Anything will work fine either the input parameter for convert.exe or the attribute of struct _Image


Thanks for the help.

regards,
Pushpendra
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Retain color mode of image

Post by anthony »

what you are wanting is unclear. The very meaning of conversion is to try and retain something about the original image, typically color.

So what is it you are actually trying to achieve?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Retain color mode of image

Post by fmw42 »

Please identify your IM version and your exact command that is failing to maintain the input image color. If your input is jpg, then check to see if it is CMYK colorspace. That often is an issue and should be converted to sRGB preferably using profiles.

Perhaps post links to an example input and output image.
Post Reply