[Qgis-user] Tiff with jpeg compression

Randal Hale rjhale at northrivergeographic.com
Mon May 8 06:29:43 PDT 2017


  * QGIS: 2.18.7
  * GDAL 2.1.3

I have a tiff file. I decided to jpeg compress it for some help with the 
size.

I did: gdal_translate -co compress=jpeg -co tiles=yes oldfile.tif 
newfile_jpg.tif

When I open the file in QGIS (2.18.7) on linux it crashes immediately.

When opened on windows if the file is small it takes about a minute but 
displays. If I compress a larger tiff (compressed size is 1.1 gb) QGIS 
on windows crashes.

I checked for bugs and there seems to be a jpeg bug out there: 
https://issues.qgis.org/issues/16049

If I do this with compress=deflate,  QGIS is happy.

Anyway - file a bug report? or I'm doing the compression incorrectly?

Randy

-- 
-----------------
Randal Hale
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611 rjhale at northrivergeographic.com
twitter:rjhale

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170508/5c008fc8/attachment.html>


More information about the Qgis-user mailing list