adafruit/Adafruit_CircuitPython_MLX90640

Add example to save image to file?

Closed this issue · 3 comments

Should we add a few lines in here to show how to use the PIL Image.save() function to save the pictures to a file?
https://pillow.readthedocs.io/en/stable/reference/Image.html#PIL.Image.Image.save

adding a comment or new example would be fine - a PR would be welcome!

@ramgarden Would a separate example be OK? That example continuously reads and updates a pygame display. Adding a PIL save in the loop would create lots of files, or just keep orverwriting the existing one. It would also slow down the pygame display update.

This is resolved.