Live data from Hacker News

The hardest way to make a GIF

blog.willgrant.org

11–13 of 13 posts

Re: The hardest way to make a GIF

#11

> Using imagemagick on the command line I was able to combine the images into a GIF. man what a cop out, I was hoping they would use a text editor to build the gif. that would be way harder.

Yeah I was expecting somebody to build a gif by hand from the spec using ed.

Relevant XKCD https://xkcd.com/378/

Re: The hardest way to make a GIF

#13
I was a little hoping you were going to hand deliver the film to a CVS and have it printed AND THEN scan it :)

As for imagemagick, you could make this harder by: a) Parsing the PNG structure of every image (4-byte length, 4-byte type, data, and 4-byte CRC). b) Decompress and unfilter the pixel data c) Convert data to indexed color and quantize down to <= 256 colors if needed d) Write the GIF container e) LZW-encode the pixel indices

Post reply on HN