95 days ago · Tech · hide · Fediverse post

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…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town