Only work with JPEG images.