|
| | ZText () |
| |
| | ZText (std::string keyword, std::string text) |
| |
| | ZText (const Text &other) |
| |
| bool | has_keyword () const |
| | Check if this ztXt chunk has a keyword set.
|
| |
| std::string | keyword () const |
| | The keyword value, if present.
|
| |
| void | set_keyword (std::string keyword, bool validate=true) |
| | Set the keyword of this zTXt chunk, with the option to validate the value given.
|
| |
| std::uint8_t | compression_method () const |
| | Return the compression method used for this zTXt chunk.
|
| |
| void | set_compression_method (std::uint8_t compression_method) |
| | Set the compression method for this zTXt chunk.
|
| |
| bool | has_text () const |
| | Check if the given zTXt chunk has a text value.
|
| |
| std::string | text () const |
| | Get the text data from this zTXt chunk.
|
| |
| void | set_text (std::string text) |
| | Set the text data for this `zTXt chunk.
|
| |
| | ChunkVec (const ChunkTag tag) |
| |
| | ChunkVec (const ChunkTag tag, const void *ptr, std::size_t size) |
| |
| | ChunkVec (const ChunkTag tag, const std::vector< std::uint8_t > &data) |
| |
| | ChunkVec (const ChunkVec &other) |
| |
| bool | operator== (const ChunkVec &other) const |
| |
| std::size_t | length () const |
| | Return the length of this chunk's data.
|
| |
| ChunkTag & | tag () |
| | Return the chunk tag reference associated with this chunk.
|
| |
| const ChunkTag & | tag () const |
| | Return a const chunk tag reference associated with this chunk.
|
| |
| std::vector< std::uint8_t > & | data () |
| | Return the chunk data reference associated with this chunk.
|
| |
| const std::vector< std::uint8_t > & | data () const |
| | Return const chunk data reference associated with this chunk.
|
| |
| void | set_data (std::vector< std::uint8_t > &data) |
| | Set the chunk data for this chunk.
|
| |
| std::uint32_t | crc () const |
| | Calculate the CRC value of this chunk.
|
| |
| std::pair< std::vector< std::uint8_t >, ChunkPtr > | to_chunk_ptr () const |
| | Convert this ChunkVec to a facade::png::ChunkPtr.
|
| |
| template<typename T > |
| T & | upcast () |
| | Create a reference to a higher-level ChunkVec object, such as facade::png::Header.
|
| |
| template<typename T > |
| const T & | upcast () const |
| | Create a const reference to a higher-level ChunkVec object, such as facade::png::Header.
|
| |
| ChunkVec & | as_chunk_vec () |
| | Interpret this ChunkVec derivative as a ChunkVec object.
|
| |
| const ChunkVec & | as_chunk_vec () const |
| | Interpret this ChunkVec derivative as a const ChunkVec object.
|
| |