PictView garbled output (TIFF)

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
User avatar
otrov
Posts: 110
Joined: 10 Feb 2010, 04:39

PictView garbled output (TIFF)

Post by otrov »

image in attachment
could be problem with byte order, as compression algorithm isn't

Code: Select all

---- File ----
File Type                       : TIFF
MIME Type                       : image/tiff
Exif Byte Order                 : Big-endian (Motorola, MM)
---- IFD0 ----
Subfile Type                    : Full-resolution Image
Image Width                     : 2411
Image Height                    : 1218
Bits Per Sample                 : 1
Compression                     : T4/Group 3 Fax
Photometric Interpretation      : WhiteIsZero
Strip Offsets                   : (Binary data 6817 bytes, use -b option to extract)
Orientation                     : Horizontal (normal)
Samples Per Pixel               : 1
Rows Per Strip                  : 1
Strip Byte Counts               : (Binary data 3619 bytes, use -b option to extract)
X Resolution                    : 300
Y Resolution                    : 300
Planar Configuration            : Chunky
Resolution Unit                 : inches
---- Composite ----
Image Size                      : 2411x1218
Attachments
dolphin.tif
(36.09 KiB) Downloaded 309 times
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: PictView garbled output (TIFF)

Post by Jan Patera »

otrov wrote:image in attachment
Hmm, can you please ZIP or so the file & reattach? It doesn't seem to be possible to download a .tif file here :-(
Slanec
Posts: 66
Joined: 17 Nov 2009, 19:00

Re: PictView garbled output (TIFF)

Post by Slanec »

Quite possible for me. Downloaded, zipped.
Attachments
dolphin.zip
(27.36 KiB) Downloaded 283 times
Tomas Kopal
ALTAP Staff
ALTAP Staff
Posts: 132
Joined: 07 Dec 2005, 23:01
Location: Prague, Czech Republic
Contact:

Re: PictView garbled output (TIFF)

Post by Tomas Kopal »

Jan Patera wrote:
otrov wrote:image in attachment
Hmm, can you please ZIP or so the file & reattach? It doesn't seem to be possible to download a .tif file here :-(
Fixed, tiff was set as an image, thus displaying inline. But browsers mostly does not support tiff format. Changed to raw binary data, should be better.
User avatar
SelfMan
Posts: 1142
Joined: 05 Apr 2006, 20:51
Contact:

Re: PictView garbled output (TIFF)

Post by SelfMan »

I can confirm the bug.
PictView show a garbbled image. IrfanView on the other hand is just fine.
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: PictView garbled output (TIFF)

Post by Jan Patera »

otrov wrote:image in attachment
could be problem with byte order, as compression algorithm isn't
The file seems violating the specification, it wrongly stores padding bits and EOL markers. Anyway, I added a workaround to deal with such files for the next version of AS (2.55b1? 2.60b1?).
Slanec
Posts: 66
Joined: 17 Nov 2009, 19:00

Re: PictView garbled output (TIFF)

Post by Slanec »

How was the file created? It is worth a shot to contact developers of the software and make them aware of the spec violation...
User avatar
otrov
Posts: 110
Joined: 10 Feb 2010, 04:39

Re: PictView garbled output (TIFF)

Post by otrov »

This sample file comes from example files shipped with vectorizer program: AlgoLab R2V Toolkit
Post Reply