Bild speichern
Verfasst: Samstag 17. April 2010, 09:56
Wie kann ich im Pygame Fenster ein Bild speichern, z.B Kreise, usw. .
Seit 2002 Diskussionen rund um die Programmiersprache Python
https://www.python-forum.de/
Pygame DOCS hat geschrieben:pygame.image.save
save an image to disk
pygame.image.save(Surface, filename): return None
This will save your Surface as either a BMP, TGA, PNG, or JPEG image. If the filename extension is unrecognized it will default to TGA. Both TGA, and BMP file formats create uncompressed files.
PNG, JPEG saving new in pygame 1.8.