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
August 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!



2007.08.08 12:25 "is cpContigBufToSeparateBuf() function (of tiffcp.c) working for bytes_per_sample less than 1", by Anurag Singh

Hello All

I got a image on which currently i am working.  I am using libtiff 3.8.2.

Details of  image

imagewidth = 16
imagelength = 16
bitspersampel = 2
sampelPerPixel = 2
planerconfig = PLANARCONFIG_SEPARATE
image type = strip

I was making copy of  the image, but at the time of writing image
data cpContigBufToSeparateBuf() function (tiffcp.c) corrupt the heap.
This function take bytes_per_sample and we have hardcoded as 1 in
writeBufferToSeparateStrips() function.

That means we are not able to handle the image which have
bytes_per_sampel less than 1. Please suggest me what i have to do?

Thanks in Advance
Regards
Anurag Singh