» About » Archive » Submit » Authors » Search » Random » Specials » Statistics » Forum » RSS Feed Updates Daily
First | Previous | 2012-07-05 | Next | Latest
First | Previous | 2012-07-05 | Next | Latest
Permanent URL: https://mezzacotta.net/garfield/?comic=1143
Strip by: Kimiko Muffin
Jon: It's impossible not to enjoy the playful nature of a cat.
Jon: Hey, Garfield. Let's have some fun!
Garfield: Do you have appointment?
The author writes:
Bit-shifting is simple: you take all the bits, and shift them either left or right. Take a byte with the value 00110101, shift it one bit to the left, and you get 01101010! So I did this with all the RGB bytes in the image, in sequence, wrapping around. Each individual byte gave up its leftmost bit and moved it to the end of the previous one, and the first byte gave it to the last byte. This potentially resulted in wildly different values, as you can plainly see - values which would become even more wild the more bits you shifted it to the left!
Original comic: 1990-07-05.
Original strip: 1990-07-05.