pngmeta/lib.rs
1//! pngmeta: Read and write PNG tEXt metadata chunks.
2//!
3//! Low-level library for PNG tEXt chunk I/O without image decoding.
4//! Operates directly on the binary PNG structure using only std.
5
6mod read;
7mod write;
8
9#[cfg(any(test, feature = "test-util"))]
10pub mod test_util;
11
12pub use read::{contains_in_text_chunks, read_text_chunks, scan_text_chunks};
13pub use write::write_text_chunk;
14
15/// PNG file signature (8 bytes).
16const PNG_SIGNATURE: [u8; 8] = [137, 80, 78, 71, 13, 10, 26, 10];