Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create multiple variants of a single image with a single command #1739

Open
felixranesberger opened this issue Nov 15, 2023 · 0 comments

Comments

@felixranesberger
Copy link

I would like to generate multiple sizes of a given image using a single command.
The image output filenames should be configurable and result in a filename containing the current width and height of the variant.

image-500x500.webp
image-1000x1000.webp

Is this possible?

The reason for not using multiple commands is that they may impact performance, because we have to read the image data first for every image variant. Or is this neglectable?

@felixranesberger felixranesberger changed the title How to create multiple variants of a single image How to create multiple variants of a single image with a single command Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant