Skip to content
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

JPEG scaling (width) problem #4

Open
xparq opened this issue Sep 5, 2019 · 1 comment
Open

JPEG scaling (width) problem #4

xparq opened this issue Sep 5, 2019 · 1 comment

Comments

@xparq
Copy link

xparq commented Sep 5, 2019

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.:

image

stiv-jpeg IMG_20181230_144433.jpg 10 256

image

@radare
Copy link
Owner

radare commented Oct 23, 2019

just make the width of the terminal bigger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants