static bool OptimizePngOrConvertToJpeg(const PngReaderInterface &png_struct_reader, const GoogleString &in, const JpegCompressionOptions &options, GoogleString *out, bool *is_out_png, MessageHandler *handler)
Definition: scanline_status.h:93
Definition: image_converter.h:44
Definition: image_frame_interface.h:146
static ImageType GetSmallestOfPngJpegWebp(const PngReaderInterface &png_struct_reader, const GoogleString &in, const JpegCompressionOptions *jpeg_options, const WebpConfiguration *webp_config, GoogleString *out, MessageHandler *handler)
Definition: image_frame_interface.h:279
static ScanlineStatus ConvertMultipleFrameImage(MultipleFrameReader *reader, MultipleFrameWriter *writer)
Definition: scanline_interface.h:83
static bool ConvertPngToWebp(const PngReaderInterface &png_struct_reader, const GoogleString &in, const WebpConfiguration &config, GoogleString *out, bool *is_opaque, MessageHandler *handler)
Definition: jpeg_optimizer.h:66
Definition: webp_optimizer.h:43
Definition: scanline_interface.h:32
static ScanlineStatus ConvertImageWithStatus(ScanlineReaderInterface *reader, ScanlineWriterInterface *writer)
Definition: png_optimizer.h:114