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
I'm trying to resize some files, but it starts failing very soon. Might be hitting some WebP file dimension limit? I've noticed when dealing with animated gifs, it loads all the pages into one tall file when processing.
240 didn't work, but 2880 did (it's the new height of the resized image, right?). I've tried setting the pageHeight before asking, but I didn't guess the right value.
Is it possible to get the new exact height of a resized image? If not, and I have to calculate it myself, should I floor, ceil or round the value? I've tried the conversion with 2879 and 2881 and both didn't work, so this seems important to get right.
When setting the pageHeight, are there more than one correct value, that wouldn't produce the unable to encode error? Could then sharp do this work for us and calculate it?
I'm trying to resize some files, but it starts failing very soon. Might be hitting some WebP file dimension limit? I've noticed when dealing with animated gifs, it loads all the pages into one tall file when processing.
the file I'm trying to convert (zipped, since GitHub doesn't like WebPs)
The text was updated successfully, but these errors were encountered: