Fixed arguments to TIFFRGBAImageGet() call.
This commit is contained in:
parent
f89c360121
commit
66b26c1922
@ -36,7 +36,7 @@ The material presented in this chapter is a basic introduction
|
||||
to the capabilities of the library; it is not an attempt to describe
|
||||
everything a developer needs to know about the library or about TIFF.
|
||||
Detailed information on the interfaces to the library are given in
|
||||
the <A HREF="http://www-mipl.jpl.nasa.gov/~ndr/tiff/man/">
|
||||
the <A HREF="http://www.libtiff.org/man/index.html">
|
||||
UNIX manual pages</A> that accompany this software.
|
||||
|
||||
<P>
|
||||
@ -399,7 +399,7 @@ main(int argc, char* argv[])
|
||||
npixels = img.width * img.height;
|
||||
raster = (uint32*) _TIFFmalloc(npixels * sizeof (uint32));
|
||||
if (raster != NULL) {
|
||||
if (TIFFRGBAImageGet(&img, raster, img.width, img.width)) {
|
||||
if (TIFFRGBAImageGet(&img, raster, img.width, img.height)) {
|
||||
...process raster data...
|
||||
}
|
||||
_TIFFfree(raster);
|
||||
@ -722,7 +722,7 @@ main()
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
Last updated: $Date: 1999-08-13 19:30:57 $
|
||||
Last updated: $Date: 2001-01-07 19:10:29 $
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
Loading…
Reference in New Issue
Block a user