![]() |
tinyimg 1.0.0
Lightweight image manipulation library for Cloudflare Workers
|
Options an encoder honors. More...
#include <image.h>
Public Attributes | |
| uint8_t | quality |
| uint8_t | lossless |
| uint8_t | progressive |
| uint8_t | strip_metadata |
| uint8_t | effort |
| How much computation the encoder may spend; a TinyEffort. | |
Options an encoder honors.
| uint8_t TinyEncodeOpts::effort |
How much computation the encoder may spend; a TinyEffort.
Zero is TINYIMG_EFFORT_FANCY, so a zeroed structure asks for the work every caller got before this field existed.
| uint8_t TinyEncodeOpts::lossless |
Non-zero to use a format's lossless mode where it has one.
| uint8_t TinyEncodeOpts::progressive |
Non-zero to write a progressive or interlaced stream.
| uint8_t TinyEncodeOpts::quality |
Quality for a lossy format, 0 to 100.
| uint8_t TinyEncodeOpts::strip_metadata |
Non-zero to drop EXIF and other metadata from the output.