Closed rc042 closed 5 years ago
As far as I can tell from this search: error code 98 refers to an image which is too large for pngquant to handle, but it looks like EXP_IMG_893010262019.png was 2.99MB in size which I don't expect to be a problem.
I will be honest with you, I'm unable to reproduce this and don't have ideas for a fix at the moment.
The code 98 is a normal behavior. It's returned when --skip-if-larger
worked as advertised.
Thanks @kornelski. I am unblocked and can take a look at how this CLI is handling error codes.
Fix released in 3.0.2
Hi, a little word to say thank you! It works fine with this version :)
Hi!
I meet an issue and I don't know how to solve it...
Steps To Reproduce The Error
Try to process a file or multiple file, for example:
$ imageoptim -a EXP_IMG_893010262019.png
$ imageoptim -a '**/*.png'
Expected Behaviour
Actual Behaviour
I've got an error (see below).
Output error looks like:
Version Numbers or N/A
Help Needed
I tried to execute
pngquant
and it eems to work without problem:$ /Applications/ImageAlpha.app/Contents/MacOS/pngquant --ext=.png --force --skip-if-larger --speed=1 --quality=65-80 256 -- /var/folders/k6/78rvflqd1fd8zyttzqy7zkqm0000gn/T/imageoptim-cli/EXP_IMG_893010262019.png
Other thing, it works fine without option:
Thanks!