TIFFCLOSE(3tiff) LibTIFF TIFFCLOSE(3tiff)
NAME
TIFFClose - close a previously opened TIFF file
SYNOPSIS
#include <tiffio.h>
void TIFFClose(TIFF *tif)
void TIFFCleanup(TIFF *tif)
DESCRIPTION
TIFFClose() closes a file that was previously opened with TIFFOpen().
Any buffered data are flushed to the file, including the contents of
the current directory (if modified); and all resources are reclaimed.
TIFFClose() calls TIFFCleanup() and then the associated function to
close the file handle.
TIFFCleanup() is an auxiliary function to free the TIFF structure. The
given structure will be completely freed, so you should save opened
file handle and pointer to the close procedure in external variables
before calling TIFFCleanup(), if you will need these ones to close the
file.
DIAGNOSTICS
All error messages are directed to the TIFFErrorExtR() routine. Like-
wise, warning messages are directed to the TIFFWarningExtR() routine.
SEE ALSO
libtiff (3tiff), TIFFOpen (3tiff), TIFFError (3tiff)
AUTHOR
LibTIFF contributors
COPYRIGHT
1988-2025, LibTIFF contributors
4.5 Jan 03, 2025 TIFFCLOSE(3tiff)
Czas wygenerowania: 0.00036 sek.
Created with the man page lookup class by Andrew Collington.
Based on a C man page viewer by Vadim Pavlov
Unicode soft-hyphen fix (as used by RedHat) by Dan Edwards
Some optimisations by Eli Argon
Caching idea and code contribution by James Richardson
Copyright © 2003-2025 Linux.pl
Hosted by Hosting Linux.pl