-
Notifications
You must be signed in to change notification settings - Fork 19
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
Convert to different image formats #20
Comments
…o another format - can close issue FatehAK#20
Hey @VictorCam thank you for the suggestion, this is being looked at the PR raised by @netolicak. You can follow the progress #23 |
Sound good. Thank you! |
An extremely necessary option. |
I need that) |
It could be awesome if the plugin generates various outputs and automatically choose the best file at runtime based on file size and format.
|
Lighthouse keeps on complaining and wanting me to use webp. |
Looking for this option too. Already using the plugin for SVG and gulp for webp bu It will be awesome to just use this to convert PNG to webp |
I was also looking for this. Nowadays is common to generate a picture with different image formats and this would be great to have. |
Describe the feature you'd like to request
It would be really great if you could convert an image into a different image formats for production
for example converting a png image into another format available in sharp like webp/avif/etc...
I think this would be great to save people the time when doing the conversion, and to save some additional space.
Describe the solution you'd like
maybe a toFormat option in the config file since that is the name of the method in the sharp package. Where you can specify as a string what format you would like to image to be converted to.
Additional context
https://sharp.pixelplumbing.com/api-output#toformat
Thank You!
Validations
The text was updated successfully, but these errors were encountered: