<?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: PNG output parameters issue with Data Driven Pages in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/png-output-parameters-issue-with-data-driven-pages/m-p/571504#M44821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The bug reported refers to the output resolution not being exactly the resolution specified.&lt;/P&gt;&lt;P&gt;You seem to want to use a higher resolution which you should be able to obtain using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14228453192036124" jivemacro_uid="_14228453192036124"&gt;&lt;P&gt;arcpy.mapping.ExportToPNG(mxd, r"C:\TEMP\detail_map_" + str(pageNum) + ".png", resolution=300, color_mode="24-BIT_TRUE_COLOR")&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 02:49:49 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2015-02-02T02:49:49Z</dc:date>
    <item>
      <title>PNG output parameters issue with Data Driven Pages</title>
      <link>https://community.esri.com/t5/python-questions/png-output-parameters-issue-with-data-driven-pages/m-p/571503#M44820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Help requested.&lt;/P&gt;&lt;P&gt;Using the DDPG export code provided &amp;lt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00sm00000008000000.htm" title="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00sm00000008000000.htm"&gt;ArcGIS Desktop&lt;/A&gt; &amp;gt; and the ArcPy export map parameters &amp;lt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s30000002s000000" title="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s30000002s000000"&gt;ArcGIS Desktop&lt;/A&gt; &amp;gt; I received an error on the line of code when attempting to specify the "resolution" setting of "300", "24bit...".&lt;/P&gt;&lt;P&gt;The code below works fine but the default value of resolution value (96) is not acceptable print output:&lt;/P&gt;&lt;P&gt;...&amp;nbsp;&amp;nbsp; arcpy.mapping.ExportToPNG(mxd, r"C:\TEMP\detail_map_" + str(pageNum) + ".png")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: bug posting of .png resolution issue &amp;lt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMDk4MDgx" title="http://support.esri.com/en/bugs/nimbus/TklNMDk4MDgx"&gt;NIM098081 - Maps exported to TIFF, BMP, GIF, JPEG, or PNG do n..&lt;/A&gt; &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 02:27:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/png-output-parameters-issue-with-data-driven-pages/m-p/571503#M44820</guid>
      <dc:creator>MICHAELQUANT</dc:creator>
      <dc:date>2015-02-02T02:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: PNG output parameters issue with Data Driven Pages</title>
      <link>https://community.esri.com/t5/python-questions/png-output-parameters-issue-with-data-driven-pages/m-p/571504#M44821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The bug reported refers to the output resolution not being exactly the resolution specified.&lt;/P&gt;&lt;P&gt;You seem to want to use a higher resolution which you should be able to obtain using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14228453192036124" jivemacro_uid="_14228453192036124"&gt;&lt;P&gt;arcpy.mapping.ExportToPNG(mxd, r"C:\TEMP\detail_map_" + str(pageNum) + ".png", resolution=300, color_mode="24-BIT_TRUE_COLOR")&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 02:49:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/png-output-parameters-issue-with-data-driven-pages/m-p/571504#M44821</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-02-02T02:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: PNG output parameters issue with Data Driven Pages</title>
      <link>https://community.esri.com/t5/python-questions/png-output-parameters-issue-with-data-driven-pages/m-p/571505#M44822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked, output .png look great!&lt;/P&gt;&lt;P&gt;I did not include resolution=300, but only the value 300 within the sequence of commas "... ,,,,300,, ..&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 03:43:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/png-output-parameters-issue-with-data-driven-pages/m-p/571505#M44822</guid>
      <dc:creator>MICHAELQUANT</dc:creator>
      <dc:date>2015-02-04T03:43:16Z</dc:date>
    </item>
  </channel>
</rss>

