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 2010

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

2010.08.22 13:26 "memory error", by Rajat Varma
2010.08.23 13:42 "Re: memory error", by Edward Lam
2010.08.23 15:02 "Re: memory error", by Rajat Varma
2010.08.23 15:15 "Re: memory error", by Scott Ribe
2010.08.23 15:17 "Re: memory error", by Bob Friesenhahn
2010.08.23 15:27 "Re: memory error", by Rajat Varma

2010.08.23 15:17 "Re: memory error", by Bob Friesenhahn

On Mon, 23 Aug 2010, Rajat Varma wrote:
> {
>                 TIFF *in;
>                 toff_t* bc;
>                 uint32 rowspstrip,numrows,numcols;
>                 uint16 bits;
> 
>                 in = TIFFOpen(argv[1],"r");
> 
>                 TIFFGetField(in, TIFFTAG_STRIPBYTECOUNTS, &bc);

The above line looks suspicious to me. The manual page says that this 
should be type uint32** but you are passing toff_t**.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/