| Summary: | pygame.image reports 'Surface has no palette to get' after upgrade to sdl_image 1.2.11 | ||
|---|---|---|---|
| Product: | SDL_image | Reporter: | krshnam |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
This is fixed in 1.2.12 which is being released shortly. |
After upgrade to the recent sdl_image 1.2.11, pygame.image reports error on img.get_palette(): >>> import pygame >>> img = pygame.image.load('/usr/share/solarwolf/data/fire.png') >>> pal = img.get_palette() Traceback (most recent call last): File "<input>", line 1, in <module> error: Surface has no palette to get As a result the game solarwolf is no longer playable.