smartcrop-sharp icon indicating copy to clipboard operation
smartcrop-sharp copied to clipboard

Add failOn: none to handle frequent vips error

Open achuinard opened this issue 2 years ago • 2 comments
trafficstars

achuinard avatar Feb 18 '23 08:02 achuinard

Hi Anthony,

I'm not convinced ignoring warnings beyond the defaults in sharp is a good idea. Could you share some more details regarding what problem you are trying to solve?

All the best, Jonas

jwagner avatar Feb 18 '23 18:02 jwagner

Check out https://github.com/lovell/sharp/issues/1578

Apparently a lot of photos on Samsung devices have some encoding issue.

This flag bypasses that issue, everything still works.

At the very least, let me pass this in, as I can't really use smartcrop-sharp without it.

achuinard avatar Feb 19 '23 21:02 achuinard