Skip to content

Generating thumbnail of a certain width - is it possible? #11

Description

@tomekit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions