<?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 Exporting Width/Height/Resolution mismatch in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/exporting-width-height-resolution-mismatch/m-p/1267193#M66566</link>
    <description>&lt;P&gt;I'm having issues with using the exportToTIFF() function in ArcPro. There are 3 relevant parameters: width, height, and resolution.&lt;/P&gt;&lt;P&gt;Width and height are required parameters; they represent "&lt;SPAN&gt;width/height of the export in pixels". I need to export a very high-res image of a layer, but the default resolution is 96dpi. How do I determine the correct resolution? Why ask for the width and height in pixels (which is the resolution), and then have a separate resolution parameter that overrides it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Code:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Current Project's view:
mv = aprx.activeView

# Export code:
mv.exportToTIFF(outdir, width = 20000, height = 16000, resolution = 2000)&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Output from code: ArcPyTest.png&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Desired result: DesiredOutput.png&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 17:33:38 GMT</pubDate>
    <dc:creator>ScottEllis123</dc:creator>
    <dc:date>2023-03-13T17:33:38Z</dc:date>
    <item>
      <title>Exporting Width/Height/Resolution mismatch</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/exporting-width-height-resolution-mismatch/m-p/1267193#M66566</link>
      <description>&lt;P&gt;I'm having issues with using the exportToTIFF() function in ArcPro. There are 3 relevant parameters: width, height, and resolution.&lt;/P&gt;&lt;P&gt;Width and height are required parameters; they represent "&lt;SPAN&gt;width/height of the export in pixels". I need to export a very high-res image of a layer, but the default resolution is 96dpi. How do I determine the correct resolution? Why ask for the width and height in pixels (which is the resolution), and then have a separate resolution parameter that overrides it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Code:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Current Project's view:
mv = aprx.activeView

# Export code:
mv.exportToTIFF(outdir, width = 20000, height = 16000, resolution = 2000)&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Output from code: ArcPyTest.png&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Desired result: DesiredOutput.png&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 17:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/exporting-width-height-resolution-mismatch/m-p/1267193#M66566</guid>
      <dc:creator>ScottEllis123</dc:creator>
      <dc:date>2023-03-13T17:33:38Z</dc:date>
    </item>
  </channel>
</rss>

