Thanks to those of you who pointed out the obvious -co "GDAL_PDF_DPI"
which I somehow overlooked in the online docs.  RTFM right...
 
That said, I ran a test script using that CO and GDAL yields a warning
message and then makes the export at 150dpi anyway.
 
gdal_translate -co "GDAL_PDF_DPI=300" -co "TFW=YES" addison.pdf
addison.tif
 
This is returned:
Warning 6: Driver GTiff does not support GDAL_PDF_DPI creation option
 
and then GDAL goes ahead and translates the PDF to GTIFF using the
default 150dpi.
 
*****************
Michael Smith
State GIS Manager, Maine Office of GIS, Maine OIT
Board Member, Maine GeoLibrary
Board Member, Maine GIS Users Group
State Rep, National States Geographic Information Council

  

State House Station 174
264 Civic Center Drive
Augusta, ME 04333-0174
(207) 215-5530

69 o 47' 49.5"W   44 o 20' 54.5"N 


 

<<icons_tiny.jpg>>

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to