Correct an invalid jpeg quality parameter.

With our new libjpeg_turbo library, a quality of 150 doesn't seem to be valid, so I'm changing this to 95. I chose 95 over 100 because the libjpeg_turbo project uses a quality of 95 for all testing and benchmarking shown in their documentation, and notes that a quality of 95 "has been determined to be perceptually lossless under most viewing conditions".
This commit is contained in:
sukibaby
2025-03-10 20:59:38 -07:00
committed by teejusb
parent 22216f02e3
commit 674fdb4fcb
+1 -1
View File
@@ -117,7 +117,7 @@ bool RageSurfaceUtils::SaveJPEG( RageSurface *surface, RageFile &f, bool bHighQu
jpeg::jpeg_set_defaults(&cinfo);
if( bHighQual )
jpeg::jpeg_set_quality( &cinfo, 150, TRUE );
jpeg::jpeg_set_quality( &cinfo, 95, TRUE );
else
jpeg::jpeg_set_quality( &cinfo, 70, TRUE );