-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log what file is raising error #14
Comments
Isn’t it the same issue as #13? |
The log Is the same , the issue Is different
Il Lun 6 Gen 2020, 11:24 Victor Domingos <[email protected]> ha
scritto:
… Isn’t it the same issue as #13
<#13>?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14?email_source=notifications&email_token=AAQM3N62HTWWRFC2L45OCTTQ4MBE3A5CNFSM4KDBSSH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIFBHLY#issuecomment-571085743>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQM3NYLDLYCLAYIF2N5Q5TQ4MBE3ANCNFSM4KDBSSHQ>
.
|
Oh, I see. There is no feedback on which image has caused the error. Well, in this case, I think it would be better to catch the exception silently and move on. The user just wants all the images optimized if they can be optimized. If this utility can’t do the job, just leave the original image and let the user know the image was not optimized, as usual. I can see it is complaining about a mode “P” image, so it must be a PNG. Can you please check if it happens with any of your color pallete mode PNG images? |
@victordomingos i agree. so i should try with the -rc option? |
As always, please be careful to work on copies, not original images. Then yes, feel free to experiment. "Reduce colors" may have quite a noticeable impact on perceived image quality, so it's something you eventualy may want to try apart just with a smaller set of images. Can you please indicate which command-line options were you using when you got that error? |
@victordomingos i was using optimize-images ./ |
optimizing a huge library of images,
one of this cannot be optimized.
i'm not able to understand what one.
i know the last optimized, but not the one working on.
this is the log
The text was updated successfully, but these errors were encountered: