change scrnshots to .bmp fmt

This commit is contained in:
cxgeorge 2001-08-27 21:02:37 +00:00
parent e452149a51
commit 3e3af7b59b
1 changed files with 1 additions and 1 deletions

View File

@ -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)