[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Re: pygame.image error: Surface has no palette to get



This is on Arch Linux, with pygame version 1.9.1.  I think this error
started appearing after the upgrade to sdl_image 1.2.11.


On Jan 19, 11:16 pm, krish <krsh...@xxxxxxxxx> wrote:
> After the recent upgrade of the sdl library, I get the following
> error :
>
> >>> 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
>
> Solarwolf is no longer playable because of this.