Enhancement: format-specific output options #746
marijo-macet
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone! I'd like to suggest adding format-specific output options to Imagetools.
Currently, I'm relying on Sharp's CLI in my build process, because in order to achieve optimal compression results, I need the ability to change the value for chroma subsampling, as well as to enable the mozjpeg defaults. Therefore, I'm forced to compress the original images in one of my build steps, using Sharp's CLI, before resizing them on the fly with vite-imagetools.
If there were parameters in Imagetools for chroma subsampling, mozjpeg and other format-specific output options, it would further simplify the image processing.
This has also been addressed in #354 and #511.
Beta Was this translation helpful? Give feedback.
All reactions