AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2007.10.30 02:27 "Simple code to write Tiff images from Raw data", by Richard Nolde
2007.10.31 00:01 "Re: Rookie question", by Leonardo Serni
2007.11.15 02:19 "Re: Simple code to write Tiff images from Raw data", by Ron Croonenberg
2007.11.15 04:37 "Re: Simple code to write Tiff images from Raw data", by Frank Warmerdam
2007.11.15 15:36 "Re: Simple code to write Tiff images from Raw data", by Ron Croonenberg
2007.11.15 15:45 "Re: Simple code to write Tiff images from Raw data", by Frank Warmerdam
2007.11.15 11:42 "Re: Simple code to write Tiff images from Raw data", by Jason Tillett
2007.11.15 14:42 "Re: Simple code to write Tiff images from Raw data", by Ron Croonenberg

2007.11.15 15:45 "Re: Simple code to write Tiff images from Raw data", by Frank Warmerdam

Ron Croonenberg wrote:
> Hello Frank,
> 
> here's the tiffinfo:
> 
> the first one is the one I built using the tifflib. The 2nd one is the 
> same image but viewed and than saved as a tiff with irfanview.
> 
> After I built the tiff irfanview and vliv recognize the image but not 
> too many other viewers (so far I only found irfanview and vliv to read 
> them). After I opened the tiff and saved it again as a tiff all viewers 
> so far can read it.
> 
> So I figured I must have done something wrong or forgot something.
> 
> btw: After irfanview saves the file below it's size grows
>  from 4.96Mb to 8.71M (but that's due to compression. apparently 
> irFanview doesn't create "deflated" files ?)
> 
> TIFF Directory at offset 0x4f6222 (5202466)
>   Image Width: 4096 Image Length: 3072
>   Bits/Sample: 8
>   Compression Scheme: Deflate
>   Photometric Interpretation: RGB color
>   Orientation: row 0 top, col 0 lhs
>   Samples/Pixel: 3
>   Rows/Strip: 16
>   Planar Configuration: single image plane
>   ImageDescription: 3D Simulation
>   Predictor: none 1 (0x1)
> [ronc@wolf359 ~]$ tiffinfo fractal_3a.tif
> TIFF Directory at offset 0x8b1f42 (9117506)
>   Image Width: 4096 Image Length: 3072
>   Resolution: 0, 0 pixels/inch
>   Bits/Sample: 8
>   Compression Scheme: LZW
>   Photometric Interpretation: RGB color
>   Orientation: row 0 top, col 0 lhs
>   Samples/Pixel: 3
>   Rows/Strip: 1
>   Planar Configuration: single image plane
>   Software: IrfanView

Ron,

The most obvious issue here is that you used the Deflate compression
scheme which is relatively new, and not very widely supported while
Irfanview used LZW which is more widely supported.  I'd guess that
is the source of the problem.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org