For outputting an image of the same format and size, is it possible to have eleventy-img simply copy the file rather than reprocess it?
I read through all the issues I could find that mentioned "copy" and "passthrough" but I couldn't find an answer. The closest I found was this comment:
widths: [null] (default, keep original width)
That should skip processing the images.
However, when I include null or "auto" in the widths, and I inspect those output files, they are different than the originals.
I ask because (a) I have thousands of photos, so this would help quicken deploys, and (b) I've done quite a bit of hand-optimizing exactly how the images are compressed, so I'd like to have them not re-run through a compression algorithm again.
Thank you!!
For outputting an image of the same format and size, is it possible to have eleventy-img simply copy the file rather than reprocess it?
I read through all the issues I could find that mentioned "copy" and "passthrough" but I couldn't find an answer. The closest I found was this comment:
However, when I include
nullor"auto"in the widths, and I inspect those output files, they are different than the originals.I ask because (a) I have thousands of photos, so this would help quicken deploys, and (b) I've done quite a bit of hand-optimizing exactly how the images are compressed, so I'd like to have them not re-run through a compression algorithm again.
Thank you!!