Python Forum
Pygame loads only part of images
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pygame loads only part of images
#4
Can't test it myself. Don't have the images.
Maybe telling images they are alpha images will help.
Converting to pygame format will allow image to rendering a little faster.
So add .convert_alpha() after all png and jpg images.
Bitmaps just use .convert()
menupng = pygame.image.load('Menu.png').convert_alpha()
99 percent of computer problems exists between chair and keyboard.
Reply


Messages In This Thread
Pygame loads only part of images - by Prof_Jar_Jar - Dec-22-2018, 02:14 PM
RE: Pygame loads only part of images - by Windspar - Dec-22-2018, 02:36 PM
RE: Pygame loads only part of images - by Windspar - Dec-22-2018, 03:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyGame] drawing images onto pygame window djwilson0495 1 3,549 Feb-22-2021, 05:39 PM
Last Post: nilamo
  Pygame - Images As Buttons vman44 3 13,152 Mar-20-2020, 08:13 PM
Last Post: vman44

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020