pngmeta 0.1.4

PNG tEXt chunk reader/writer — no image decoding, std-based binary I/O
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! pngmeta: Read and write PNG tEXt metadata chunks.
//!
//! Low-level library for PNG tEXt chunk I/O without image decoding.
//! Operates directly on the binary PNG structure using only std.

mod read;
mod write;

#[cfg(any(test, feature = "test-util"))]
pub mod test_util;

pub use read::{contains_in_text_chunks, read_text_chunks, scan_text_chunks};
pub use write::write_text_chunk;

/// PNG file signature (8 bytes).
const PNG_SIGNATURE: [u8; 8] = [137, 80, 78, 71, 13, 10, 26, 10];