Skip to main content
Solved

Geospatial PDF writer DPI resolution


rudystricklan1
Contributor
Forum|alt.badge.img+2

When converting a Cloud Optimized TFF to a Geospatial PDF, the output resolution is very pixelated (see attached file). How can the output Geospatial PDF resolution be specified?GeoPDF Resolution Example

Best answer by debbiatsafe

Hello @rudystricklan1 

There are several parameters in the Geospatial PDF writer that can be used to control raster output. In the writer feature type, there is a parameter named Interpolation Method. By default, this is set to Nearest Neighbor, which is fast but produces a lower image quality. You can try setting this parameter to Bicubic (highest quality) or Bilinear (intermediate quality) to increase the quality of the output PDF.

In addition, there is a PDF format attribute called pdf_raster_compression_level which sets the quality of the image compression. Use an AttributeCreator or AttributeManager to create this attribute on the raster feature(s) and set its value to 0. A value of 0 enables a lossless compression.

Both of these will cause the output PDF file size to increase.

View original
Did this help you find an answer to your question?

2 replies

debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • Best Answer
  • June 13, 2024

Hello @rudystricklan1 

There are several parameters in the Geospatial PDF writer that can be used to control raster output. In the writer feature type, there is a parameter named Interpolation Method. By default, this is set to Nearest Neighbor, which is fast but produces a lower image quality. You can try setting this parameter to Bicubic (highest quality) or Bilinear (intermediate quality) to increase the quality of the output PDF.

In addition, there is a PDF format attribute called pdf_raster_compression_level which sets the quality of the image compression. Use an AttributeCreator or AttributeManager to create this attribute on the raster feature(s) and set its value to 0. A value of 0 enables a lossless compression.

Both of these will cause the output PDF file size to increase.


rudystricklan1
Contributor
Forum|alt.badge.img+2

Thanks very much Debbie! Changing the interpolation method to bicubic dramatically improved the Geospatial PDF output resolution. Although the output GeoPDF size did increase, it was still less (3.62MB) than the super-compressed Cloud Optimized Output file size (5.33MB).


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings