Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to change the scale of a picture in pygame

import pygame
picture = pygame.image.load(filename)
picture = pygame.transform.scale(picture, (1280, 720))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #scale #picture #pygame
ADD COMMENT
Topic
Name
4+6 =