Answers for "transform size of picture pygame"

12

transform size of picture pygame

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

Python Answers by Framework

Browse Popular Code Answers by Language