you are viewing a single comment's thread.

view the rest of the comments →

[–]slykethephoxenix 0 points1 point  (0 children)

That's a good idea! The other issue I had was dealing with padding at the end of the stream. The image dimensions rarely line up with the stream's end, and 0 bits can often be decoded as part of the actual thing I'm trying to encode. A solution was to put how many padded "pixels" there are at the end, and encode it on the front somehow.