| 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.06.29 08:38 "(no subject)", by <tobykaos@free.fr>Hi,
I try to combine tiff files into single one. But my files size is greater than
100Mo, and I get this error: "Error, no space for image buffer."
is it because not enough space can be allocated? or maybe my file is corrupted?
In tiffcp.c:
int status = 0;
tdata_t buf = NULL;
tsize_t scanlinesize = TIFFRasterScanlineSize(in);
tsize_t bytes = scanlinesize * (tsize_t)imagelength;
/*
* XXX: Check for integer overflow.
*/
if (scanlinesize
&& imagelength
&& bytes / (tsize_t)imagelength == scanlinesize) {
....
} else {
TIFFError(TIFFFileName(in), "Error, no space for image buffer");
}
Thanks.
|
|||||||