4
I have some pictures of cards in size 140x190 and am using the method pygame.trnasform.scale
to resize to 105x143 which is a proportional value. But it is losing quality, while the images of the verses that are basically a background color and a white border do not lose. How to solve this?
Code within the class:
self.frente = pygame.image.load("imagens/{}/carta ({}).png".format(naipe, valor)).convert()
self.frente = pygame.transform.scale(self.frente, [98, 133])
self.verso = pygame.image.load("imagens/versos/azul (1).png")
self.verso = pygame.transform.scale(self.verso, [98, 133])