My initial impulse is to ask why you want/need to do this since you could easily convert the images later but assuming you have a good reason I pretty much say the same things as Malice. I've never used SaveBuffer (the command to save out a screenshot) so I don't know what file formats are supported. Have you actually tried saving to png? If that is supported you would just have to name the file appropriately, using .png for the file extension, when calling SaveBuffer.
Similarly, I agree that saving a GIF would be more complicated. Especially monochromatic; you would need to do a lot of processing of the image, using commands like Read and WritePixel.
|