Changed compression from PNG to JPEG for speed purposes