문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top