How Hackerman would create an image just by typing 0 and 1 – a deep dive to GIF

Hackerman, a skilled coder, is approached by a customer who wants an impressive 5×5 pixel icon of a rabbit for their website. Hackerman confidently assures the customer that he can code the image himself, without the need for a graphic program. After spending some time familiarizing himself with the GIF file format and the LZW compression algorithm, Hackerman successfully creates the image within an hour. He saves the file as “rabbit.gif” and sends it to his customer, impressing them with his coding skills. The article goes on to explain the technical details of the GIF file format and provides instructions for creating different types of images using code.

https://medium.com/@happybits/how-hackerman-would-create-an-image-just-by-typing-zeros-and-ones-a-deep-dive-into-gif-file-32bada0926c0

To top