Question

I have an issue with the 2 images below: the first one is created on Linux, the second one on Windows using the same command, same versions of ImageMagick (6.6.5-0). Tried newer versions of ImageMagick and they all seem to provide different results Windows vs. Linux.

convert c.jpg -sepia-tone 80% 1.jpg (on Linux)
convert c.jpg -sepia-tone 80% 2.jpg (on Windows)

The results are very different and I cannot figure out why.

What am I doing wrong?


(source: selfip.com)
 
(source: selfip.com)

Was it helpful?

Solution

I actually had to do

convert c.jpg -set colorspace RGB -sepia-tone 80% 1.jpg

basically forcing the use of the RGB colorspace and that solved my problem.

OTHER TIPS

Most likely, the release versions of your ImageMagick installations on Linux and Windows are different in more ways than the mere version numbers...

To verify, run this command and compare the outputs in detail for the two platforms:

convert -version

Additionally, you may want to see how the outputs for convert -list configure differ. (Note, the format of the outputs this command gives is different anyway on the two platforms -- they are not directly comparable).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top