Macros§
Structs§
- Index
Set - A hash set where the iteration order of the values is independent of their hash values.
- Options
- Options controlling the output of the
optimizefunction - RawImage
- A raw image definition which can be used to create an optimized png
- Zopfli
Options - Options for the Zopfli compression algorithm.
Enums§
- BitDepth
- The number of bits to be used per channel per pixel
- Color
Type - The color type used to represent this image
- Deflater
- DEFLATE algorithms supported by oxipng (for use in
Options) - Filter
Strategy - Filtering strategy for use in
Options - InFile
- Where to read images from in
optimize. You can useoptimize_from_memoryto avoid external I/O. - OutFile
- Write destination for
optimize. You can useoptimize_from_memoryto avoid external I/O. - PngError
- RowFilter
- PNG delta filters
- Strip
Chunks Optionsto use when stripping chunks (metadata)
Functions§
- optimize
- Perform optimization on the input file using the options provided
- optimize_
from_ memory - Perform optimization on the input file using the options provided, where the file is already loaded in-memory