| Summary: | [REGRESSION] Loading XCF files is broken on 32-bit as of 2.0.5 | ||
|---|---|---|---|
| Product: | SDL_image | Reporter: | Austin Hurst <mynameisaustinhurst> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | miniupnp, sezeroz |
| Version: | 2.0.5 | ||
| Hardware: | x86 | ||
| OS: | Windows 7 | ||
| Attachments: |
patch for SDL2
Patch for SDL1.2 |
||
|
Description
Austin Hurst
2020-01-11 02:44:38 UTC
Reopened and dropped a note about this at https://bugzilla.libsdl.org/show_bug.cgi?id=4413 OK, I think I understand what's going on. XCF files normally have the version in their header, just like 00000000 67 69 6d 70 20 78 63 66 20 76 30 31 31 00 00 00 |gimp xcf v011...| but this one has 00000000 67 69 6d 70 20 78 63 66 20 66 69 6c 65 00 00 00 |gimp xcf file...| I think it should be interpreted as version 0 Created attachment 4486 [details]
patch for SDL2
Created attachment 4487 [details]
Patch for SDL1.2
Thanks, patches applied. SDL-1.2 branch: https://hg.libsdl.org/SDL_image/rev/bbbffe655cc8 Default branch: https://hg.libsdl.org/SDL_image/rev/80a5e1347ee6 Tested the default branch and seen that showimage does load XCFs. @Austin Hurst: Is it working for you? Shall I close this? Closing as fixed. |