shiimizu / thumb-gen Goto Github PK
View Code? Open in Web Editor NEWGenerate checksum compliant thumbnails from 4chan
License: MIT License
Generate checksum compliant thumbnails from 4chan
License: MIT License
This image causes the latest static build to segfault, regardless of OP/reply and SFW/NSFW:
http://s2.desu-usergeneratedcontent.xyz/mlp/image/1420/84/1420846635059.png
The image is 8-bit grayscale with alpha, a very uncommon format. I don't know for sure that that's relevant, but it seems like quite a coincidence if not.
Some GIFs aren't converting to the correct images to get the matching checksums.
This can be seen with running tg
on dance.gif
.
For some image types, the presence of channels and bits values can be a bit confusing. As an example, GIF always uses 3 channels per pixel, but the number of bits per pixel cannot be calculated for an animated GIF with a global color table.
~ getimagesize manual
ext/standard/image.c
(PHP)gd_gif_in.c
Something related to colors or compression for animated GIFs seems to be going on.
PHP's GetImageSize() != ImageSX() and ImageSY() causing improper image dimension outputs.
This can be seen when running tg
on dance.gif
and comparing the dimensions of the output with the original thumbnail.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.