In the docs I've found an example:
Configuration config = Configuration(
outputType: ImageOutputType.webpThenJpg,
useJpgPngNativeCompressor: false,
quality: 40,
);
however it doesn't seem there is an option to control the width.
I have images of random sizes, between xx KBs and couple MBs, having just one quality factor gives too much of a variance to be used for thumbnail generation. It would be great if it's possible to define max width. e.g. 320px.
In the docs I've found an example:
however it doesn't seem there is an option to control the width.
I have images of random sizes, between xx KBs and couple MBs, having just one quality factor gives too much of a variance to be used for thumbnail generation. It would be great if it's possible to define max width. e.g. 320px.