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
February 2008

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

2008.02.02 18:50 "Problem with large tiff images", by Jean-michel Frecinat
2008.02.02 21:09 "Re: Problem with large tiff images", by Bob Friesenhahn
2008.02.03 11:07 "Re: Problem with large tiff images", by Joris Van Damme

2008.02.02 18:50 "Problem with large tiff images", by Jean-michel Frecinat

Hi,
  I am a developer in c# and c++ and i am working on tiff images. But i am a
  problem when i try to save image (22000x9000 pixels and 30000x10000
  pixels) i have an error "No space to output buffer".
How to save a large tiff file with libtiff?
I use : 
 
unsigned char* scanline_data = (unsigned
char*)_TIFFmalloc(exportWidth*spp*sizeof(unsigned char));

if(scanline_data != NULL)
{
for(unsigned long row= 0 ; row < height ; row++)
{
memcpy(scanline_data,raster+row*exportWidth*spp,exportWidth*spp);
TIFFWriteScanline(output,scanline_data, row,0);
}

_TIFFfree(scanline_data);
}
TIFFFlush(output);
TIFFClose(output);
_TIFFfree(raster);
 
 
help me please.
 
Best regards.
 
_________________________________________________________________
Microsoft vous offre un logiciel pour classer, retoucher et partager vos
photos !
http://www.windowslive.fr/galerie/