Image displays under Windows but not under Linux

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
GeneralHQ
Posts: 26
Joined: 2008-07-16T08:01:02-07:00

Image displays under Windows but not under Linux

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Image displays under Windows but not under Linux

Post by magick »

Try this:
  • display -colorspace rgb BlankImageBack2.tiff
GeneralHQ
Posts: 26
Joined: 2008-07-16T08:01:02-07:00

Re: Image displays under Windows but not under Linux

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Image displays under Windows but not under Linux

Post 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.
GeneralHQ
Posts: 26
Joined: 2008-07-16T08:01:02-07:00

Re: Image displays under Windows but not under Linux

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Image displays under Windows but not under Linux

Post by magick »

Type
  • tiffinfo yourimage
and post the output here so we can review.
GeneralHQ
Posts: 26
Joined: 2008-07-16T08:01:02-07:00

Re: Image displays under Windows but not under Linux

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Image displays under Windows but not under Linux

Post 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.
GeneralHQ
Posts: 26
Joined: 2008-07-16T08:01:02-07:00

Re: Image displays under Windows but not under Linux

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Image displays under Windows but not under Linux

Post 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.
GeneralHQ
Posts: 26
Joined: 2008-07-16T08:01:02-07:00

Re: Image displays under Windows but not under Linux

Post 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.
Post Reply