Expand description
zipng is a polyglot encoder for ZIP-and/or-PNG files.
Modules
Structs
In-memory representation of a PNG file’s essential image contents.
In-memory representation of a ZIP file’s essential archive contents.
Configuration determining how the
Zip
archive is serialized.Enums
The bit depth of an image, as defined in the PNG specification.
The color type of an image, as defined in the PNG specification.
Statics
Pins the
mimetype
magic header file used by EPUB and OpenDocument.Sorts files lexicographically based on their content, then applies
SORT_BY_NAME
.Sort file by name, first based on the number of slash
/
path separator
characters, then lexicographically.Traits
Functions
Compute the Adler-32 checksum of a byte slice
Compute the CRC-32 checksum of a byte slice as per ISO 3309
Reads the image data from a PNG file.
Creates a PNG file with the given image data.
Reads the archive contents of a ZIP file.
Creates a ZIP archive.