Now to continue this side work on the record store.
The PNG format has this really complex filter thing which for the most part is rather confusing right now. But it is needed to properly decoded images and such.
Seems filtering does not actually add or remove bytes, it just modifies the bytes around it. So maybe reading as a stream would work?
WAIT! THERE ARE EXACTLY 16 EXTRA BYTES FOR THE SCANLINE. This I think is where the type comes in!