On Tue Mar 4 15:15:24 2025 +0000, Connor McAdams wrote:
I wrote some tests for this awhile ago and forgot how it behaved on native :) I just tested it again, it's format dependent. BMP/TGA/PPM/HDR/PFM/DDS all encode a header with width/height fields set to 0. JPG and PNG just return a buffer with a size of 0. I've added a `FIXME` now to indicate that we're returning an empty buffer.
Ah, good to know, thanks!