next-export-optimize-images icon indicating copy to clipboard operation
next-export-optimize-images copied to clipboard

Provide more advanced image processing options (blur, crop…))

Open tobiasBora opened this issue 1 year ago • 1 comments

Thanks for this tool!

Is your feature request related to a problem? Please describe.

Sometimes I want to apply a specific transform to all images, like blur them, darken them, crop them… Other frameworks can do things like that, for instance sveltekit.

Describe the solution you'd like

Maybe provide an attribute with a list of transforms to apply and apply them sequentially using sharp, and for more advanced cases why not accepting an attribute that accept a function applying any operation on the image?

Describe alternatives you've considered

Sveltekit

tobiasBora avatar May 18 '24 12:05 tobiasBora

This library is only intended to enable the features supported by next/image to be used at build time. For example, placeholder and browser-specific extensions are supported.

If there are a lot of requests for image enhancements like the ones you mentioned, we will consider them, so if you agree, please 👍 your first post!

dc7290 avatar May 19 '24 01:05 dc7290