Page 1 of 1

Image displays under Windows but not under Linux

Posted: 2008-07-30T07:13:26-07:00
by GeneralHQ
I have just submitted (via e-mail) a TIFF image that will display under windows but not under Linux, using the ImageMagick display program.

Any ideas as to why this might be, and can we get this to work under Linux as well?

GeneralHQ

Re: Image displays under Windows but not under Linux

Posted: 2008-07-30T16:21:29-07:00
by magick
Try this:
  • display -colorspace rgb BlankImageBack2.tiff

Re: Image displays under Windows but not under Linux

Posted: 2008-07-31T11:07:52-07:00
by GeneralHQ
No, using " display -colorspace rgb BlankImageBack2.tiff " doesn't seem to make a difference. I'm still getting a totally transparent (black) image.

But even if that did make a difference, why would I need to use that "-colorspace rgb" parameter to display the image under Linux but not under Windows?

GeneralHQ

Re: Image displays under Windows but not under Linux

Posted: 2008-07-31T11:52:10-07:00
by magick
Your image is in the CMYK colorspace, Linux display does not automatically convert to the RGB colorspace whereas Windows IMDisplay does convert to RGB.

Re: Image displays under Windows but not under Linux

Posted: 2008-08-05T12:06:35-07:00
by GeneralHQ
Hmmm ... as far as we can determine, the image colorspace is monochrome greyscale.

Still ... using the -colorspace rgb option as suggested made no difference.

Re: Image displays under Windows but not under Linux

Posted: 2008-08-05T12:22:21-07:00
by magick
Type
  • tiffinfo yourimage
and post the output here so we can review.

Re: Image displays under Windows but not under Linux

Posted: 2008-08-05T13:37:05-07:00
by GeneralHQ
Here is the tiffinfo:

TIFF Directory at offset 0x8
Subfile Type: (0 = 0x0)
Image Width: 1210 Image Length: 548
Resolution: 200, 200 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 4
Photometric Interpretation: min-is-white
Thresholding: bilevel art scan
FillOrder: msb-to-lsb
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: 548
Planar Configuration: single image plane
Software: VisionX Compression Version 1.1, Copyright 2004

Re: Image displays under Windows but not under Linux

Posted: 2008-08-05T15:35:25-07:00
by magick
Are you using the very latest ImageMagick release, 6.4.2-6? If not, try it. If the problem persists, resend the image (we no longer have the image your forwarded earlier) and we will investigate further.

Re: Image displays under Windows but not under Linux

Posted: 2008-08-07T09:27:36-07:00
by GeneralHQ
I have now downloaded the latest 6.4.2-6 release and tried it, and am still having problems with two images under Linux (they both display fine under Windows). One doesn't display (displays all black/transparent) and the other causes a Segmentation Fault.

I have just re-emailed both problem images.

Thanks,
GeneralHQ

Re: Image displays under Windows but not under Linux

Posted: 2008-08-07T10:19:13-07:00
by magick
Not sure why its failing for you. We're running ImageMagick 6.4.2-6 and LIBTIFF, Version 3.8.2 and the images both display and match what is displayed under Windows. BlankImageBack2.tiff is predominately white with some black edges and segfaultbackimage1.tif looks like a scan of the back of a check.

Re: Image displays under Windows but not under Linux

Posted: 2008-08-11T12:05:57-07:00
by GeneralHQ
Since you are saying it works, at this point, I am going under the assumption that the problem we are having has to do with the LIBTIFF library, and not ImageMagick.

We are using Red Hat Enterprise Edition, and as far as I can determine, the latest LIBTIFF available for that release is 3.6.1. So now my search is on for a LIBTIFF Version 3.8.2 that will work with RH Enterprise. If I can find such a beast and still have problems, I will let you know.

Thank You.