Allow specifying JPEG compression to use