Function libcacaoimage::encode::EncodeTGA
Defined in File libcacaoimage.hpp
Function Documentation
-
std::size_t libcacaoimage::encode::EncodeTGA(const Image &src, std::ostream &out)
Encode a TGA (Targa) image.
- Parameters:
src – The image data to encode
out – The output stream to write the encoded data to
- Throws:
std::runtime_error – If encoding fails or settings or invalid