Hacker News new | ask | show | jobs
by mikecx 920 days ago
Love learning about image/video formats and I enjoy how you broke it all down. Just a heads up, pretty sure you've got a typo:

"Next is the Global Packed Field, which in this case is 70 which in binary form is 00000000."

70 in binary would be 100110. (64 + 0 + 0 + 4 + 2 + 0)

2 comments

This pops up again later when he says 81 is 10000001. Or that width 8 corresponds to 04. I don’t know enough about the gif format to know if I just misunderstood these parts or if they were written incorrectly, but it was a bit confusing.
81 in hex is 10000001 in binary, so I think this part is correct
Thanks mikecx, it was a typo, I've changed the text to "Next is the Global Packed Field, which in this case is 00..."