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
Just FYI: stiv-jpeg seems to fail scaling some jpegs, though (despite that optimistic comment in the code ;) ), overflowing the specified width, sometimes quite a lot.
(Changing the width does change the picture, but the result is incorrect. Some images can be contained, turning the width low enough, but some will overflow even when setting the width to 1. I have no idea about the JPEG fmt., or libjpeg, but my gut feeling is that the scaling may be more off with bigger images. Didn't really test, I know this is kinda POC code anyway. Cheers!)
E.g.:
stiv-jpeg IMG_20181230_144433.jpg 10 256
The text was updated successfully, but these errors were encountered:
Hi,
(s)tiv
is great fun, thanks guys! :)Just FYI:
stiv-jpeg
seems to fail scaling some jpegs, though (despite that optimistic comment in the code ;) ), overflowing the specified width, sometimes quite a lot.(Changing the width does change the picture, but the result is incorrect. Some images can be contained, turning the width low enough, but some will overflow even when setting the width to 1. I have no idea about the JPEG fmt., or
libjpeg
, but my gut feeling is that the scaling may be more off with bigger images. Didn't really test, I know this is kinda POC code anyway. Cheers!)E.g.:
stiv-jpeg IMG_20181230_144433.jpg 10 256
The text was updated successfully, but these errors were encountered: