Open saved image for analysis

I’ve taken snapshots and want to load them for color analysis. However, it doesn’t appear to work with compressed images.

Specifically, in your single color example, instead of using snapshot, I set the image as the saved file with:

img = image.Image(“pic1.bmp”, copy_to_fb = False)

Seems to load okay, but img.draw_rectangle(blob.rect()) returns an error: " OSError: Operation not supported on JPEG or RAW frames"

Can you post the full script ? and if possible pic1.bmp and I’ll test it.

Looks like our problem was saving to jpg instead of bmp. Switched to bmp, combined with help from another forum question that was just posted helped us figure it out. Problem solved!