-
-
Save parzibyte/a60ee7f5b7628ee54c82e7151cfe9297 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
https://parzibyte.me/blog | |
""" | |
ruta_imagen = "manzana.png" | |
ancho_deseado = 20 | |
alto_deseado = 40 | |
imagen_original = pygame.image.load(ruta_imagen) | |
imagen_redimensionada = pygame.transform.scale(imagen_original, (ancho_deseado, alto_deseado)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment