Function libcacaoimage::decode::DecodeTIFF
Defined in File libcacaoimage.hpp
Function Documentation
-
Image libcacaoimage::decode::DecodeTIFF(std::istream &input)
Decode a TIFF image.
If you know your image is TIFF, this avoids the overhead of format determination
- Parameters:
input – An input stream to the encoded data
- Throws:
std::runtime_error – If the data is not in TIFF format or if decoding fails
- Returns:
The decoded image data