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



Thread

2007.06.29 08:38 "(no subject)", by <tobykaos@free.fr>
2007.06.29 13:17 "Re: (no subject)", by Andrey Kiselev

2007.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.