Closed ns476 closed 1 year ago
In the wake of CVE-2023-21036 it is useful to be able to detect whether an image has trailer e.g. to force a re-encode of these images.
Unfortunately mozjpeg doesn't provide an easy way of doing this, especially if the input is a file.
This is now handled by supporting BufRead
BufRead
In the wake of CVE-2023-21036 it is useful to be able to detect whether an image has trailer e.g. to force a re-encode of these images.
Unfortunately mozjpeg doesn't provide an easy way of doing this, especially if the input is a file.