| Summary: | [PATCH] SDL_image causes "libpng warning: Interlace handling should be turned on when using png_read_image" when loading interlaced images | ||
|---|---|---|---|
| Product: | SDL_image | Reporter: | Hans de Goede <jwrdegoede> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | brianbrowns123, jhonmerced5, sylvain.becker |
| Version: | 1.2.12 | ||
| Hardware: | x86 | ||
| OS: | Other | ||
| Attachments: |
SDL_image-1.2.12-interlaced-png-warning-fix.patch
interlaced image patch |
||
Created attachment 2928 [details]
interlaced image
Created attachment 2929 [details]
patch
Same patch for SDL2_image, updated to head.
It does not seem to hurt and fixes this warning message.
and also: https://stackoverflow.com/questions/22125146/how-to-fix-libpng-warning-when-reading-interlaced-png @Hans also see this: https://www.internetvergelijken.nl Interesting Jhon. Have you seen that? https://promocode.com.ph/ Fixed, thanks! https://hg.libsdl.org/SDL_image/rev/71f0d661144f Seems that everything's fixed here. http://zanuidiscountcode.com/ |
Created attachment 2346 [details] SDL_image-1.2.12-interlaced-png-warning-fix.patch Hi, When starting an app which uses SDL_image to load interlaced png-s with a recent libpng, the following message is printed to the terminal: libpng warning: Interlace handling should be turned on when using png_read_image Once per loaded png. The attached patch fixes this. Note this patch is for the 1.2 branch, but the same likely applies to 2.0 / master. Regards, Hans