Skip to main content
Solved

Convert PDF to image file (jpg, png, tiff)


Forum|alt.badge.img+1

I have a collection of as built drawings stored as PDF’s and wanted to automate the creation of image files being used as thumbnails in a web application. I was wondering if anyone has done this before. I am currently using the Workbench 2018 PDF reader and attempting to rasterize using either ImageRasterizer or MapnikRasterizer.

Best answer by debbiatsafe

Hi @lopes8

You can enable Read Rasterized Page parameter (Non-Spatial section) of the PDF reader parameters dialog which will render an image of each page and produce it as a raster feature (documentation here). You should be able to skip the ImageRasterizer or MapnikRasterizer if you use this parameter.

I hope this helps.

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

4 replies

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

Hi @lopes8

You can enable Read Rasterized Page parameter (Non-Spatial section) of the PDF reader parameters dialog which will render an image of each page and produce it as a raster feature (documentation here). You should be able to skip the ImageRasterizer or MapnikRasterizer if you use this parameter.

I hope this helps.


Forum|alt.badge.img+1
  • Author
  • June 13, 2018
debbiatsafe wrote:

Hi @lopes8

You can enable Read Rasterized Page parameter (Non-Spatial section) of the PDF reader parameters dialog which will render an image of each page and produce it as a raster feature (documentation here). You should be able to skip the ImageRasterizer or MapnikRasterizer if you use this parameter.

I hope this helps.

Hi @DebbiAtSafe

 

Thanks so much, this did the trick!

hlouie
Contributor
Forum|alt.badge.img+15
  • Contributor
  • August 12, 2020

I was following the instructions above, Thanks to Chis at Safe identifying my missing step


klingdom
Contributor
Forum|alt.badge.img+5
  • Contributor
  • February 21, 2024

Hello,

 

I continue to have trouble converting PDFs to JPGs!  I have followed the instruction above but still get error on the writer.

 JPEG writer: This format cannot support more than 3 bands.  Please remove the extra bands and try again
JPEG writer: An error has occurred. Check the logfile above for details

 

How do I find out the number of Bands as they pertain to ImageRasterizer’s Raster Properties Number of Columns and Number of Rows??  Or is there another way??

 

Thx

Brian

 

 


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