Add support for JPEG screenshots