Answers for "How to change the size of image in pygame"

13

how to change the scale of a picture in pygame

import pygame
picture = pygame.image.load(filename)
picture = pygame.transform.scale(picture, (1280, 720))
Posted by: Guest on November-16-2020

Code answers related to "How to change the size of image in pygame"

Python Answers by Framework

Browse Popular Code Answers by Language