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?".
I am trying to resize my photos to display on my web site. I get Adobe RGB from my camera. But some web browsers does not support it. Therefore I want to convert them to sRGB. Now my question is that how do I do that and keep colors at the same time?
But that ruins my colors. Green goes to yellowish.
Here's sample:
Left is the way it should be (greener) right is what I get with -set colorspace sRGB.
And one more question that I have. I currently use -resize 1365x2048. Can I tell it instead that longest side should be 2048 so that it would automatically figure out that the other side should be 1365?
The photos from the camera probably have an embedded AdobeRGB profile. Use "-profile sRGB.icc" to convert the image to sRGB. You can also use an "-intent" setting if you want.
snibgo wrote:The photos from the camera probably have an embedded AdobeRGB profile. Use "-profile sRGB.icc" to convert the image to sRGB. You can also use an "-intent" setting if you want.
"identify" shows x.jpg has the sRG profile, instead of AdobeRGB. sRGB.icc is in my current directory. If it wasn't, I would provide the full path to it.
But did you try "identify -verbose" ? it still shows it is Adobe RGB. Also when you open it with gimp it tells you that it Adobe RGB and asks you if you want to convert this.
An other notice I made is that when you remove "-verbose" from "identify" then it also thinks that the original file is sRGB (Momiji-AdobeRGB-yes.jpg)
They should upgrade it for you and if not I would change companies. There are plenty of choices around these days.
Alternatively you can install Imagemagick on your computer. I have it installed and have written a batch file where I drop the image over the icon and it carries out my conversions for me.