change scrnshots to .bmp fmt
This commit is contained in:
parent
e452149a51
commit
3e3af7b59b
|
|
@ -619,7 +619,7 @@ class ShowBase:
|
|||
# Replace spaces with dashes because unix does not like spaces in the filename
|
||||
date = date.replace(' ', '-')
|
||||
date = date.replace(':', '-')
|
||||
imageName = (namePrefix + '-' + date + '-' + str(frameCount) + '.pnm')
|
||||
imageName = (namePrefix + '-' + date + '-' + str(frameCount) + '.bmp')
|
||||
self.notify.info("Taking screenshot: " + imageName)
|
||||
takeSnapshot(self.win, imageName)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue