简体   繁体   中英

ImageMagick 'convert -sepia-tone' different on Windows vs. Linux

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 )

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.

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM