hikari_no_yume
hikari_no_yume
Tiny app I used to test the new version: ```c #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" int main(int argc, char **argv) { if (argc != 2) abort(); char *filename = argv[1]; int...
Hmm, for what it's worth, it'd be trivial for me to add a type enum to the info struct my patch adds.
Is there anything I could do to help this get somewhere? If it feels too complicated, I'm happy to simplify it for example.
If nobody else does, I'm inevitably going to have to investigate this myself at some point, but I know very little about how DEFLATE works, so I figure that someone...
Oh, perhaps this is a regression! I checked out the old commit cd797f81167b6b1b1229577d5764b0ca1fb0b039 (picked by grepping the log for “iphone”) and it didn't have this problem. That might explain why...
Yep, it's a regression. Automated bisection suggests this is the culprit: 95560bc6cf980d1a0bfe49f413a1108f83f7ec8a. scripts I used for automated bisection ```c #define STB_IMAGE_IMPLEMENTATION #include "vendor/stb/stb_image.h" int main(int argc, char *argv[]) { int...
> I notice Firefox on Windows won't display either of the "bad" PNGs either. Is this true of all CgBI images, or is it just something wrong with these particular...
Ah I see, thanks for correcting me.
That's fair. On the overhead side, I would be perfectly happy if stb_image would not do any “de-iphone”-ing and instead just report somehow that the bytes are in the wrong...
> unless it's using the length of the chunk, not the size of the file, but then EVERY file should fail. By my reading, it is using the length of...