Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect/corrupt image displayed for floating-point TIFF file #330

Open
paulmelis opened this issue Dec 17, 2021 · 0 comments
Open

Incorrect/corrupt image displayed for floating-point TIFF file #330

paulmelis opened this issue Dec 17, 2021 · 0 comments

Comments

@paulmelis
Copy link

Expected behaviour

melis@juggle 09:19:~/concepts/sahara-julia$ tiffinfo doh.tif 
TIFF Directory at offset 0x49160 (c008)
  Image Width: 64 Image Length: 64
  Bits/Sample: 32
  Sample Format: IEEE floating point
  Compression Scheme: None
  Photometric Interpretation: RGB color
  Samples/Pixel: 3
  Planar Configuration: single image plane
  Software: TiffImages.jl v0.5.2

melis@juggle 09:19:~/concepts/sahara-julia$ tiffdump doh.tif 
doh.tif:
Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF>
Directory 0: offset 49160 (0xc008) next 0 (0)
ImageWidth (256) LONG (4) 1<64>
ImageLength (257) LONG (4) 1<64>
BitsPerSample (258) SHORT (3) 3<32 32 32>
Compression (259) SHORT (3) 1<1>
Photometric (262) SHORT (3) 1<2>
StripOffsets (273) LONG (4) 1<8>
SamplesPerPixel (277) SHORT (3) 1<3>
StripByteCounts (279) LONG (4) 1<49152>
Software (305) ASCII (2) 21<TiffImages.jl v0.5.2\0>
SampleFormat (339) SHORT (3) 3<3 3 3>

Display of a full black image, without any alpha, for example as in the GIMP:

image

Or a warning, in case EOM does not want to support displaying floating-point images.

Actual behaviour

image

Steps to reproduce the behaviour

Load the image from doh.zip

MATE general version

1.26

Package version

EOM 1.26.0

Linux Distribution

Arch Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant