Answers for "pygame how to resize an image to fullscreen"

-2

rezise object pygame

import pygame

# Load picture
picture = pygame.image.load("your/file/directery.png") # choose a picture and spesefy directery

# Resize
picture = pygame.transform.scale(picture # spesefy the objekt, (100, 100))# here is the scale by pixels
Posted by: Guest on January-06-2021

Code answers related to "pygame how to resize an image to fullscreen"

Python Answers by Framework

Browse Popular Code Answers by Language