weight set image pygame code example
Example: transform size of picture pygame
import pygame
picture = pygame.image.load(filename)
picture = pygame.transform.scale(picture, (1280, 720))
import pygame
picture = pygame.image.load(filename)
picture = pygame.transform.scale(picture, (1280, 720))