2018.03.08 19:09 "Re: [Tiff] TIFF image is writing less tag entries than original image", by Bhaskar Reddy
I have not wriiten any code but I used the function
"char save(ImlibImage * im, ImlibProgressFunction progress, char
progress_granularity)" in the library Imlib2 which calls function "tif = TIFFOpen(im->real_file, "w");" in the libtiff library to write the TIff image.
- the source code for imlib2 1.4.10 from http://www.linuxfromscratch.org/blfs/view/cvs/x/imlib2.html and
- the source code for libtiff (Tiff 4.0.9) from http://www.linuxfromscratch.org/blfs/view/svn/general/libtiff.html
- So I guess I can't send all those files.
If anyone used the *TIFFOpen* function in tif_unix.c (which take care of calling all other required functions) to write the tiff image, then how many IFDs were seen in the written image?
I am seeing only 12 IFDs in written images for an input image of 17 or 14 IFDs.
On Wed, Mar 7, 2018 at 4:57 PM, Roger Leigh <firstname.lastname@example.org> wrote:
On 06/03/2018 19:17, Bhaskar Reddy wrote:
I am getting Tiff image (380 KB) with 12 tag entries in LITTLE-ENDIAN style When writing new tiff image file using libtiff (TIFF 4.0.6) in W mode with existing tiff file of 53KB which has 17 tag entries in BIG-ENDIAN style.
What are the 12 tag entries in the new file?
What are the 17 tag entries in the old file?
How did you write the new TIFF?
How did you write the original TIFF?
Do you have any code to show us?
Do you want to make the files available so we can take a look at them? Maybe run tiffinfo on both files and look at the differences?
Is everyone has the same problem? or Do I need to modify the code to write the tiff image successfully?
You need to provide some useful information if you want a useful answer.
It's impossible to provide any sort of meaningful response without
something to go on.