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
My issue here was the following line: "mozjpeg": ["-optimize", "-progressive", "-quality 70"],
Specifically, "-quality 70". Likewise, "-quality=70" didn't work.
This worked: "mozjpeg": ["-optimize", "-progressive"],
This seems a little odd to me seeing as I can test on my cli like so:
I'm seeing the same symptom. Using tagged v1.1(aws-lambda-image-with-dedicated-layer), replicable with any jpeg (4mb largest file). Occurs whenever a reduce config is provided. It feels like the binaries are not installed to reduce? When the reduce config is removed resizes work as expected
Activity
schmoove commentedon Apr 30, 2020
I would recommend doing a full install with the new 10.x runtime and dedicated layer.
Had a number of issues with this today, and a full reinstall got it working for me.
glassdimlygr commentedon Aug 3, 2020
I installed from scratch and the latest and I'm getting this error for
pngs andjpgs with this config, images are around 400KB.gifs work fine:glassdimlygr commentedon Aug 3, 2020
My issue here was the following line:
"mozjpeg": ["-optimize", "-progressive", "-quality 70"],Specifically,
"-quality 70". Likewise,"-quality=70"didn't work.This worked:
"mozjpeg": ["-optimize", "-progressive"],This seems a little odd to me seeing as I can test on my cli like so:
But I guess
qualityis being set above in thereducestanza, so perhaps that's why.jshow commentedon Jan 19, 2021
I'm seeing the same symptom. Using tagged v1.1(aws-lambda-image-with-dedicated-layer), replicable with any jpeg (4mb largest file). Occurs whenever a reduce config is provided. It feels like the binaries are not installed to reduce? When the reduce config is removed resizes work as expected
I've experimented with different optimizer options (as recommended here) without a positive effect
jshow commentedon Jan 19, 2021
I was able to solve short-term with the following config - changing the reduce into a resizes