# TinyTIFF **Repository Path**: hzqeric/TinyTIFF ## Basic Information - **Project Name**: TinyTIFF - **Description**: lightweight TIFF reader/writer library (C/C++) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2019-09-04 - **Last Updated**: 2022-05-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TinyTIFF (c) 2014-2015 by Jan W. Krieger -- This is a lightweight C/C++ library, which is able to read and write basic TIFF files. It is significantly faster than libTIFF, especially in writing large multi-frame TIFFs. This software is licensed under the term of the GNU Lesser General Public License 3.0 (LGPL 3.0). ##TinyTIFFReader The methods in this file allow to read TIFF files with limited capabilites, but very fast (comapred to libtiff) and also more frames from a multi-frame TIFF than libtiff (which is currently limited to 65535 frames due to internal data sizes!). This library currently support TIFF files, which meet the following criteria: * TIFF-only (no BigTIFF), i.e. max. 4GB * uncompressed frames * one, or more samples per frame * data types: UINT, INT, FLOAT This example reads all frames from a TIFF file: ```C++ TinyTIFFReaderFile* tiffr=NULL; tiffr=TinyTIFFReader_open(filename); if (!tiffr) { std::cout<<" ERROR reading (not existent, not accessible or no TIFF file)\n"; } else { if (TinyTIFFReader_wasError(tiffr)) std::cout<<" ERROR:"<0 && height>0) std::cout<<" size of frame "<