TinyTIFF | lightweight TIFF reader/writer library
kandi X-RAY | TinyTIFF Summary
kandi X-RAY | TinyTIFF Summary
(c) 2014-2020 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).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TinyTIFF
TinyTIFF Key Features
TinyTIFF Examples and Code Snippets
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)) {
TinyTIFFWriterFile* tif=TinyTIFFWriter_open("myfil.tif", 8, 1, 32, 32, TinyTIFFWriter_Greyscale);
if (tif) {
for (uint16_t frame=0; frame<50; frame++) {
const uint8_t* data=readImage();
TinyTIFFWriter_writeImage(
TinyTIFFWriterFile* tif=TinyTIFFWriter_open("myfil.tif", 8, 3, 32, 32, TinyTIFFWriter_RGB);
if (tif) {
for (uint16_t frame=0; frame<50; frame++) {
const uint8_t* data=readImage();
TinyTIFFWriter_writeImage(tif, d
Community Discussions
Trending Discussions on TinyTIFF
QUESTION
I have a module using NativeCall that works on both Linux and macOS, but not Windows. When I try to use the module on Windows I get lots of errors like:
...ANSWER
Answered 2018-Dec-19 at 15:36I think you will have to give TINYTIFFREADER_LIB_EXPORT
and TINYTIFFWRITER_LIB_EXPORT
defines a value (either in the source, but probably better to have it be passed by the build system) and on windows i think it has to be __declspec(dllexport)
, otherwise the symbols may not be made available in the dll.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TinyTIFF
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page