I'm having some issues loading an image into pygame. I've searched through here and google and tried using os.path.join and just the full path. Nothing is working. The error I'm getting is: libpng error: bad adaptive filter value. Here is my code for trying to load in the image.
background = pygame.image.load("background/level1.png")
background_rect = background.get_rect()
Any idea what I'm doing wrong? I've also tried the following:
background = pygame.image.load(os.path.join("background","level1.png"))
background_rect = background.get_rect()
background = pygame.image.load("L:\\Spring 2014\\CSC177\\The End\\The End\\background\\level1.png")
background_rect = background.get_rect()
pygame.image.get_extended()return? - Drewness