diff options
author | Sam Leffler <sam@engr.sgi.com> | 1997-02-21 01:20:19 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2022-06-22 19:39:48 +0100 |
commit | 7b7dc6a9696b7d7fb1c2fcdd355ee0e3a9d22c2d (patch) | |
tree | 2a8da34f4359d1a3a969b4f900e3e8c3724ebe86 /html/libtiff.html | |
parent | 773e971189d30b0603751845b31c66b62fc913a7 (diff) | |
download | libtiff-git-7b7dc6a9696b7d7fb1c2fcdd355ee0e3a9d22c2d.tar.gz |
v3.4beta036 releasev3.4beta036
Diffstat (limited to 'html/libtiff.html')
-rw-r--r-- | html/libtiff.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/libtiff.html b/html/libtiff.html index 7fffe63e..75607d77 100644 --- a/html/libtiff.html +++ b/html/libtiff.html @@ -230,7 +230,7 @@ main(int argc, char* argv[]) { TIFF* tif = TIFFOpen(argv[1], "r"); if (tif) { - int dircount = 1; + int dircount = 0; do { dircount++; } while (TIFFReadDirectory(tif)); @@ -375,7 +375,7 @@ main(int argc, char* argv[]) npixels = w * h; raster = (uint32*) _TIFFmalloc(npixels * sizeof (uint32)); if (raster != NULL) { - if (TIFFReadRGBAImage(tif, raster, w, h, 0)) { + if (TIFFReadRGBAImage(tif, w, h, raster, 0)) { ...process raster data... } _TIFFfree(raster); @@ -738,7 +738,7 @@ main() <ADDRESS> <A HREF="sam.html">Sam Leffler</A> / <A HREF="mailto:sam@engr.sgi.com">sam@engr.sgi.com</A>. -Last updated: $Date: 1996/04/29 19:18:06 $ +Last updated: $Date: 1996/08/29 01:08:05 $ </ADDRESS> </BODY> |