Using the default buffer size I was getting error: InvalidData and error: Unseekable on some image files, using a a larger buffer (65536), resolved the errors (this could be too large of buffer, but I was already allocating a buffer of that size I could re-use).
https://github.com/j-c-m/blackcat/blob/master/src/main.zig#L686
I will follow up with some test image files if I can find them.
Using the default buffer size I was getting error: InvalidData and error: Unseekable on some image files, using a a larger buffer (65536), resolved the errors (this could be too large of buffer, but I was already allocating a buffer of that size I could re-use).
https://github.com/j-c-m/blackcat/blob/master/src/main.zig#L686
I will follow up with some test image files if I can find them.