In our project we need to use rasters offline on QField. Our tablets are a very limited software and using uncompressed rasters is too slow to be practical.
First, we try to convert our tif files to ecw, but didn't recognice the file (shows an error like the file is missing). Then we try to use compressed tiffs, with overviews:
gdal_translate -b 1 -b 2 -b 3 -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co TILED=YES ortho.tif ortho_ycbcr_ov.tif
gdaladdo --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL -r average ortho_ycbcr_ov.tif 2 4 8 16
The same result. Then we try without overviews and then withour YCBCR with the same results.
The only option who works is to use overviews with no compression. The files are huge, but the performances is pretty decent.
¿Any success with compressed formats?
EDIT: Now, I've realised that the overviews are generated with the command you see above. Who are compressed as JPEG and use YCBCR photometric command, but QField recognised it without trouble. That's very confusing.