Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to reduce width of image in pygame

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