| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2007.11.15 15:36 "Re: Simple code to write Tiff images from Raw data", by Ron CroonenbergHello 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
Frank Warmerdam wrote:
> Ron Croonenberg wrote:
>> Hello all,
>>
>> When I create a tiff file, not all viewers recognize it. However
>> IrFanview and vliv do. After I save the image as a tiff with IrFanview
>> other viewer do see it.
>> So I am probably missing a tag ? or failed to set a field somewhere ?
>> What fields need to be set with 'TIFFSetField' so that all viewers can
>> recognize the image ?
>
> Ron,
>
> It would be more constructive to provide a tiffinfo report of the
> file you produced, and the file produced by IrFanview.
>
> Best regards,
>
--
=================================================================
Ron Croonenberg |
| Phone: 1 765 658 4761
Lab Instructor & | Fax: 1 765 658 4732
Technology Coordinator |
|
Department of Computer Science | e-mail: ronc@DePauw.edu
DePauw University |
275 Julian Science & Math Center |
602 South College Ave. |
Greencastle, IN 46135 |
=================================================================
|
|||||||