Certain PDFs giving the conversion trouble?
Posted: 2017-09-13T10:21:19-07:00
Hey all!
I'm trying to convert a particular PDF that is a combination of vector images + text into a raster image (preferrably PNG w/ an alpha layer), and it generally takes 80 seconds with the following command:
convert -density 300x300 "C:\im\files\pdfFile.pdf" -resize 180x180 -flatten -quality 100 -profile "C:\im\sRGB.icc" "C:\im\output\converted.png"
My bet is that the problem lies with the text in the file because of the font that is used -- probably causing a huge issue on the vector end of things.
Any suggestions for intermediate steps that could be used to cut the time it takes to successfully convert the file into an image?
Looking for 10 seconds or less total time, but honestly any improvement is welcomed at this point!
Here is the problematic file: https://drive.google.com/file/d/0B0HRnS ... sp=sharing
Thank you so much!
I'm trying to convert a particular PDF that is a combination of vector images + text into a raster image (preferrably PNG w/ an alpha layer), and it generally takes 80 seconds with the following command:
convert -density 300x300 "C:\im\files\pdfFile.pdf" -resize 180x180 -flatten -quality 100 -profile "C:\im\sRGB.icc" "C:\im\output\converted.png"
My bet is that the problem lies with the text in the file because of the font that is used -- probably causing a huge issue on the vector end of things.
Any suggestions for intermediate steps that could be used to cut the time it takes to successfully convert the file into an image?
Looking for 10 seconds or less total time, but honestly any improvement is welcomed at this point!
Here is the problematic file: https://drive.google.com/file/d/0B0HRnS ... sp=sharing
Thank you so much!