Skip to content
Permalink
Browse files

Revert "improve GTIFF JPEG compression by adding PHOTOMETRIC=YCBCR (fix

#35002)"

This reverts commit 02410b9.
  • Loading branch information
nyalldawson committed Mar 18, 2020
1 parent 02410b9 commit 5ab380bbd4789e2b0f27875f60264605bad2b516
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsrasterformatsaveoptionswidget.cpp
@@ -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

0 comments on commit 5ab380b

Please sign in to comment.
You can’t perform that action at this time.