You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently all non-jpeg images are filtered out by:
if(!isJpg(file.contents)){cb(null,file);return;}
However, mozjpeg binary supports other input formats, such as PNG.
It would be great to have a convert option that does not filter other image formats.
The text was updated successfully, but these errors were encountered:
Yes, that was my original point, perhaps I wasn't clear. I didn't mean we should add some new layer to convert files prior to passing them through to mozjpeg, just to relax the guard and support all the image formats that mozjpeg already supports today.
Currently all non-jpeg images are filtered out by:
However, mozjpeg binary supports other input formats, such as PNG.
It would be great to have a convert option that does not filter other image formats.
The text was updated successfully, but these errors were encountered: