options.h 590 B

12345678910111213141516
  1. #include <vips/vips.h>
  2. typedef struct _ImgproxySaveOptions {
  3. gboolean JpegProgressive; // Whether to save JPEG as progressive.
  4. gboolean PngInterlaced; // Whether to save PNG as interlaced.
  5. gboolean PngQuantize; // Whether to quantize PNG (save with palette).
  6. int PngQuantizationColors; // Number of colors to use in PNG quantization.
  7. VipsForeignWebpPreset WebpPreset; // WebP preset to use.
  8. int WebpEffort; // WebP encoding effort level.
  9. int AvifSpeed; // AVIF encoding speed.
  10. int JxlEffort; // JPEG XL encoding effort.
  11. } ImgproxySaveOptions;