On the Stack version of this question someone suggested "There should be an option -co COPY_SRC_TIFF_TILES=YES" to copy the source image. (A corollary to -co COPY_SRC_OVERVIEWS=YES.)
I now have another use case for this suggestion: using nearblack to add a mask or alpha band to a jpeg-in-tiff image without re-encoding the data-bearing pixels. ----- -Matt -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev