6 hours ago · Tech · hide · 0 comments

Three years I got Quicktake 150’s thumbnail decoding in, and it’s “basically good enough” that one can recognize an image in the 80*60 output: But as you can see, I think it’s wrong. It is too pixelated. And I can’t figure out what transformation to apply to the values to get a smooth thumbnail, because I absolutely suck at image processing. I’m quite sure this would be super easy for someone well-versed into various image processing algorithms, so I have setup minimal test rigs for you to test my decoder and, hopefully, make it right! I uploaded three files that make it easy to setup: qt150-thumb-challenge.c qt150-thumb-challenge.py QT150.thumb For those of you who prefer C, install libsdl-image-1.2 dev package, and compile and run with: gcc -I/usr/include/SDL -o qt150-thumb-challenge qt150-thumb-challenge.c -lSDL_image -lSDL && \ ./qt150-thumb-challenge QT150.thumb For those of you who prefer Python, pip install pygame, and run with: python3 qt150-thumb-challenge.py QT150.thumb My…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.