Forum

Author Topic: Expose options for TIFF/JPEG export formats  (Read 5379 times)

andyroo

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
Expose options for TIFF/JPEG export formats
« on: December 31, 2013, 03:28:12 AM »
In trying to optimize imagery for access in GIS, I have found that my preferred format (JPEG) doesn't redraw as rapidly at full zoom as TIF, but TIF is huge file size compared to JPG.

For my case (ArcGIS) but also supported in GDAL and GRASS and other GIS, I have found that tiled TIFF with YCBCR JPEG compression appears to work best. It would be nice to have this option with PhotoScan. Also would be nice to be able to adjust compression settings etc.

I was wondering if Agisoft could add options to the export dialog to have more control over the exported file format. As an example, here's what I do to make a Agisoft TIFF into a fast-redraw small file size TIF:

gdal_translate infile.tif outfile.tif -co TILED=YES -co BLOCKYSIZE=256 -co BLOCKXSIZE=256 -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co JPEG_QUALITY=90 -co TFW=YES -b 1 -b 2 -b 3

Andy