Hello,
16-bit greyscale images (fits or tiff) are not handled properly on Solaris/SPARC which is big endian. On Solaris/x86 (little endian) and Linux/x86 there is no problem. Also 8-bit greyscale images are not affected.
The problem was introduced somewhere between imagemagick 6.7.3.10 and 6.8.8.-7, it is also still present in 6.8.9-2.
Edit: I also found the problem in 6.3.4 Q16. All affected versions were "Q16" versions, the versions that worked, weren't "Q16" versions.
To reproduce the problem:
- view a 16-bit greyscale image (fits or tiff) using display
- convert a a 16-bit greyscale image to a 8-bit format (e. g. as png) and view it
In my case the fits-image is displayed (or converted to) completely black and the tiff-image to grey noise.
Regards
Kester
16bit greyscale not working on big endian
Re: 16bit greyscale not working on big endian
Can you build the latest beta from source and see if you can reproduce the problem with that version?
Re: 16bit greyscale not working on big endian
I get the same problem with ImageMagick-7.0.0-0~beta20140703.tar.bz2 .dlemstra wrote:Can you build the latest beta from source and see if you can reproduce the problem with that version?
Re: 16bit greyscale not working on big endian
It seems the beta is a bit old. Can you use the source from svn ('https://subversion.imagemagick.org/subv ... geMagick-6')?
Re: 16bit greyscale not working on big endian
I checked out the latest SVN version and it still has the problem.
Source: https://subversion.imagemagick.org/subv ... geMagick-6
Last Changed Rev: 16171
Last Changed Date: 2014-07-16 17:24:47 +0200 (Wed, 16 Jul 2014)
Version: ImageMagick 6.8.9-6 Q16 sparc 2014-07-17 http://www.imagemagick.org
EDIT:
building it with ./configure --with-quantum-depth=8, the problem is also there:
Version: ImageMagick 6.8.9-6 Q8 sparc 2014-07-18 http://www.imagemagick.org
Source: https://subversion.imagemagick.org/subv ... geMagick-6
Last Changed Rev: 16171
Last Changed Date: 2014-07-16 17:24:47 +0200 (Wed, 16 Jul 2014)
Version: ImageMagick 6.8.9-6 Q16 sparc 2014-07-17 http://www.imagemagick.org
EDIT:
building it with ./configure --with-quantum-depth=8, the problem is also there:
Version: ImageMagick 6.8.9-6 Q8 sparc 2014-07-18 http://www.imagemagick.org
Re: 16bit greyscale not working on big endian
I have the same issue since upgrading from version 6.7.3 to 6.9.0 on Solaris 10. I wonder if ImageMagick has fix this bug.
Re: 16bit greyscale not working on big endian
Even for me we have same issues on Solaris 10 with ImageMagick 6.7.6-5, Not able to figure it out.
1. Installed Libtiff 4.404 under /usr/local/libtiff
2. verified the status whether it was installed but it was not installed
3. Tried to locate the magick-baseconfig.h (for parameter verification MAGICKCORE_HAVE_TIFFISBIGENDIAN) file on /opt/app/opentext/MediaManagement/ImageMagick/include/ImageMagick/magick/ for the black and white tiff issues but couldn't locate.
1. Installed Libtiff 4.404 under /usr/local/libtiff
2. verified the status whether it was installed but it was not installed
3. Tried to locate the magick-baseconfig.h (for parameter verification MAGICKCORE_HAVE_TIFFISBIGENDIAN) file on /opt/app/opentext/MediaManagement/ImageMagick/include/ImageMagick/magick/ for the black and white tiff issues but couldn't locate.