Take screenshot with JPEG compression