Page 1 of 1

different histogram info returned on Solaris versus Windows

Posted: 2013-06-20T05:09:49-07:00
by michielv
Hello,

If I give the following command:
convert myfile.eps -unique-colors txt:-

I get different results on Solaris and Windows for the same EPS image.

My expectation was that all values for "rgb" are equal which is the case for Windows:
# ImageMagick pixel enumeration: 58,1,65535,srgba
0,0: ( 0, 0, 0,65535) #000000000000 black
1,0: ( 771, 771, 771,65535) #030303030303 grey1
2,0: ( 1799, 1799, 1799,65535) #070707070707 srgba(7,7,7,1)
...

but not for Solaris:
# ImageMagick pixel enumeration: 57,1,65535,srgba
0,0: ( 0, 0, 0,65535) #000000000000 black
1,0: ( 514, 1542, 514,65535) #020206060202 srgba(2,6,2,1)
2,0: ( 5654, 6682, 5140,65535) #16161A1A1414 srgba(22,26,20,1)
3,0: ( 6425, 6939, 5911,65535) #19191B1B1717 srgba(25,27,23,1)
...

The Solaris version I use is: ImageMagick 6.8.5-10
The Windows version I use is: ImageMagick 6.8.5-9

Kind regards,
Michiel

Re: different histogram info returned on Solaris versus Wind

Posted: 2013-06-20T05:37:18-07:00
by magick
Its likely Ghostscript is returning different interpretations of your EPS file. ImageMagick relies on Ghostscript to render Postscript.

Re: different histogram info returned on Solaris versus Wind

Posted: 2013-06-21T09:05:20-07:00
by Coscript Consulting
Can I see a sample file? AFAIK, all known big endian bugs in Ghostscript have been fixed.
Please retest your file with Ghostscript 9.07.

Re: different histogram info returned on Solaris versus Wind

Posted: 2013-08-05T01:13:23-07:00
by michielv
Ok problem is solved now on Solaris with:
ImageMagick 6.8.5-10
Ghostscript 9.07