<?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: Output as Image option INCREASES file size in arcpy script. in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/output-as-image-option-increases-file-size-in/m-p/1572066#M91581</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you seen that ideas&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/make-pdf-exported-from-arcgis-pro-smaller-file/idi-p/1052830/highlight/true#comments" target="_self"&gt;thread&lt;/A&gt;? There are helpful settings &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/make-pdf-exported-from-arcgis-pro-smaller-file/idc-p/1169702/highlight/true#M19464" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp; Author recommends output_as_image set to False and set other parameters for smaller size.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 13:14:34 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2025-01-02T13:14:34Z</dc:date>
    <item>
      <title>Output as Image option INCREASES file size in arcpy script.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/output-as-image-option-increases-file-size-in/m-p/1569938#M91408</link>
      <description>&lt;LI-CODE lang="c"&gt;lyt.exportToPDF(os.path.join(param1,outname),"ALL","",multiple_files,resolution=param5,output_as_image=True)&lt;/LI-CODE&gt;&lt;P&gt;I have a tool that exports selected layouts. I thought I would add an option to select 'Output as Image' which greatly reduces output file size. It has the opposite effect, though. It&amp;nbsp;&lt;EM&gt;vastly&lt;/EM&gt; increases file size - almost 10 times. From 1.9 to about 13 mb. I exported using layout-&amp;gt;share, selected &lt;EM&gt;output as image&lt;/EM&gt; and the output was reduced in size as expected. Is there anything about using the setting in a script tool I should know?&lt;/P&gt;&lt;P&gt;The above script line works fine and the variables (param1, param5, etc...) are working as desired. Adding 'output_as_image=True' just has the opposite effect of what I hoped. 'output_as_image=False' works as I would expect .&lt;/P&gt;&lt;P&gt;Thank you for any information you may be able to provide.&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 19:58:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/output-as-image-option-increases-file-size-in/m-p/1569938#M91408</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2024-12-18T19:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Output as Image option INCREASES file size in arcpy script.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/output-as-image-option-increases-file-size-in/m-p/1572066#M91581</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you seen that ideas&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/make-pdf-exported-from-arcgis-pro-smaller-file/idi-p/1052830/highlight/true#comments" target="_self"&gt;thread&lt;/A&gt;? There are helpful settings &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/make-pdf-exported-from-arcgis-pro-smaller-file/idc-p/1169702/highlight/true#M19464" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp; Author recommends output_as_image set to False and set other parameters for smaller size.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 13:14:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/output-as-image-option-increases-file-size-in/m-p/1572066#M91581</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2025-01-02T13:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Output as Image option INCREASES file size in arcpy script.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/output-as-image-option-increases-file-size-in/m-p/1576466#M92039</link>
      <description>&lt;P&gt;Thank you. That was interesting. I am finding it works now, and I'm thinking perhaps when I was developing the code, it didn't 'stick' at first or with multiple runs and reruns of the tool, the system got confused. This has happened before. Anyway, it regularly works as desired now. Thanks for your input.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 16:17:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/output-as-image-option-increases-file-size-in/m-p/1576466#M92039</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2025-01-16T16:17:17Z</dc:date>
    </item>
  </channel>
</rss>

