<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: arcpy convert pdf to jpg in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56975#M4512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use Image Magick (&lt;A href="http://www.imagemagick.org/" title="http://www.imagemagick.org/"&gt;ImageMagick: Convert, Edit, Or Compose Bitmap Images&lt;/A&gt; ) which can be called from Python via a few different interfaces (such as PythonMagick).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2014 22:37:25 GMT</pubDate>
    <dc:creator>BondHarper</dc:creator>
    <dc:date>2014-12-30T22:37:25Z</dc:date>
    <item>
      <title>arcpy convert pdf to jpg</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56973#M4510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a task of grabbing a page from a pdf document and save it as an image file, jpeg would be fine.&lt;/P&gt;&lt;P&gt;I can get a page of a pdf using:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pdfDoc = arcpy.mapping.PDFDocumentOpen(output_pdfPath)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pdfDoc.deletePages(pagesToDelete)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pdfDoc.saveAndClose()&lt;/P&gt;&lt;P&gt;Does anyone know how to take that newly saved pdfDoc and export it as a jpeg?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 21:52:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56973#M4510</guid>
      <dc:creator>SteveLong</dc:creator>
      <dc:date>2014-12-30T21:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy convert pdf to jpg</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56974#M4511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are some blogs and post outside of GeoNet that threat this topic:&lt;/P&gt;&lt;P&gt;&lt;A href="http://nedbatchelder.com/blog/200712/extracting_jpgs_from_pdfs.html" title="http://nedbatchelder.com/blog/200712/extracting_jpgs_from_pdfs.html"&gt;Ned Batchelder: Extracting JPGs from PDFs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/331918/converting-a-pdf-to-a-series-of-images-with-python" title="http://stackoverflow.com/questions/331918/converting-a-pdf-to-a-series-of-images-with-python"&gt;Converting a PDF to a series of images with Python - Stack Overflow&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 22:33:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56974#M4511</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2014-12-30T22:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy convert pdf to jpg</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56975#M4512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use Image Magick (&lt;A href="http://www.imagemagick.org/" title="http://www.imagemagick.org/"&gt;ImageMagick: Convert, Edit, Or Compose Bitmap Images&lt;/A&gt; ) which can be called from Python via a few different interfaces (such as PythonMagick).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 22:37:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56975#M4512</guid>
      <dc:creator>BondHarper</dc:creator>
      <dc:date>2014-12-30T22:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy convert pdf to jpg</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56976#M4513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I've seen those two posts. The Ned Batchelder post doesn't work at all. I am attaching the .jpg it produced. It seems to have only extracted the water mark and not the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with ImageMagick is that I'd have to install it on the user's machine, an undesirable side effect.&lt;/P&gt;&lt;P&gt;Is there any other way to get this done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;IMG alt="jpg0.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/45704_jpg0.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 23:26:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56976#M4513</guid>
      <dc:creator>SteveLong</dc:creator>
      <dc:date>2014-12-30T23:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy convert pdf to jpg</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56977#M4514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, we settled on using Ghostscript and shelling out in some fashion via python running and external process to convert from the .pdf to a .tif. Hope this helps someone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 17:20:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-convert-pdf-to-jpg/m-p/56977#M4514</guid>
      <dc:creator>SteveLong</dc:creator>
      <dc:date>2015-01-08T17:20:04Z</dc:date>
    </item>
  </channel>
</rss>

