|
Haio 0.2.X
Homebrew Asset IO/CDN
|
Concepts | |
| concept | Haio::Codecs::Encodable |
Convert | |
| template<> | |
| Result< Blob > | Haio::Codecs::Encode< Format::PNG, Color::RGBA8888 > (Image< Color::RGBA8888 > img) |
every pair this build can write out. the colour is the one stored inside the container, not the one the caller happens to hold.
| Result< Blob > Haio::Codecs::Encode< Format::DDS, Color::RGB565 > | ( | Image< Color::RGB565 > | img | ) |
| Result< Blob > Haio::Codecs::Encode< Format::DDS, Color::RGBA8888 > | ( | Image< Color::RGBA8888 > | img | ) |
Definition at line 1 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::KTX, Color::ETC1 > | ( | Image< Color::ETC1 > | img | ) |
| Result< Blob > Haio::Codecs::Encode< Format::KTX, Color::RGB565 > | ( | Image< Color::RGB565 > | img | ) |
Definition at line 1 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::KTX, Color::RGBA8888 > | ( | Image< Color::RGBA8888 > | img | ) |
Definition at line 1 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::KTX2, Color::ETC1 > | ( | Image< Color::ETC1 > | img | ) |
| Result< Blob > Haio::Codecs::Encode< Format::KTX2, Color::RGB565 > | ( | Image< Color::RGB565 > | img | ) |
Definition at line 1 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::KTX2, Color::RGBA8888 > | ( | Image< Color::RGBA8888 > | img | ) |
Definition at line 1 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::PNG, Color::RGBA8888 > | ( | Image< Color::RGBA8888 > | img | ) |
Definition at line 13 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::PPM, Color::RGBA8888 > | ( | Image< Color::RGBA8888 > | img | ) |
takes rgba and drops the alpha on the way out, so the caller does not have to convert first. the header and the pixels share one buffer: Move writes straight into the tail instead of building a second image to copy from.
Definition at line 1 of file encode.cpp.

| Result< Blob > Haio::Codecs::Encode< Format::PVR, Color::ETC1 > | ( | Image< Color::ETC1 > | img | ) |
| Result< Blob > Haio::Codecs::Encode< Format::PVR, Color::RGB565 > | ( | Image< Color::RGB565 > | img | ) |
Definition at line 1 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::PVR, Color::RGBA8888 > | ( | Image< Color::RGBA8888 > | img | ) |
Definition at line 1 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::TGA, Color::BGR888 > | ( | Image< Color::BGR888 > | img | ) |
| Result< Blob > Haio::Codecs::Encode< Format::TGA, Color::BGRA8888 > | ( | Image< Color::BGRA8888 > | img | ) |
everything a picture arrives with, which is why this is what a bare tga means
Definition at line 59 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::TGA, Color::GRAY8 > | ( | Image< Color::GRAY8 > | img | ) |
one byte a pixel and no colour at all. nothing converts full colour down to grey yet, so this is reached by a typed pipe from something already grey, such as a netpbm P5.
Definition at line 59 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::TGA, Color::PALETTE > | ( | Image< Color::PALETTE > | img | ) |
the indices as they are, with their own colours beside them.
this is the one container haio has that stores a palette rather than expanding it, so "-filter bayer -palete cga out.tga" comes out as one byte a pixel instead of four holding sixteen distinct values.
Definition at line 59 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::TGA, Color::RGB555 > | ( | Image< Color::RGB555 > | img | ) |
Definition at line 59 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::TGA, Color::RGBA5551 > | ( | Image< Color::RGBA5551 > | img | ) |
Definition at line 59 of file encode.cpp.
| Result< Blob > Haio::Codecs::Encode< Format::ZCIS, Color::RGBA8888 > | ( | Image< Color::RGBA8888 > | img | ) |
Definition at line 62 of file encode.cpp.