mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Change capture format to png
This commit is contained in:
parent
d13bd63dfe
commit
775c34fecf
@ -46,7 +46,7 @@ while running:
|
||||
if event.key == pygame.K_ESCAPE:
|
||||
running = False
|
||||
if event.key == pygame.K_c:
|
||||
pygame.image.save(image, "capture.jpeg")
|
||||
pygame.image.save(image, "capture.png")
|
||||
|
||||
|
||||
pygame.quit()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user