Skip to content

Commit

Permalink
Revert "improve GTIFF JPEG compression by adding PHOTOMETRIC=YCBCR (fix
Browse files Browse the repository at this point in the history
#35002)"

This reverts commit 02410b9.
  • Loading branch information
nyalldawson committed Mar 18, 2020
1 parent 02410b9 commit 4bff85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsrasterformatsaveoptionswidget.cpp
Expand Up @@ -71,7 +71,7 @@ QgsRasterFormatSaveOptionsWidget::QgsRasterFormatSaveOptionsWidget( QWidget *par
<< QStringLiteral( "COMPRESS=DEFLATE PREDICTOR=2 ZLEVEL=9" ) );
sBuiltinProfiles[ QStringLiteral( "z_gtiff_4jpeg" )] =
( QStringList() << QStringLiteral( "GTiff" ) << tr( "JPEG Compression" )
<< QStringLiteral( "COMPRESS=JPEG JPEG_QUALITY=75 PHOTOMETRIC=YCBCR" ) );
<< QStringLiteral( "COMPRESS=JPEG JPEG_QUALITY=75" ) );

// overview compression schemes for GTiff format, see
// http://www.gdal.org/gdaladdo.html and http://www.gdal.org/frmt_gtiff.html
Expand Down

0 comments on commit 4bff85a

Please sign in to comment.