<?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 Map Series Export to PDF - borders around images in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/map-series-export-to-pdf-borders-around-images/m-p/1513829#M71190</link>
    <description>&lt;P&gt;Using ArcGIS Pro v3.2.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When exporting a map series layout to PDF, I am having an issue where thin grey borders are showing around my images, and legend in my exported PDFs, however, these borders are not visible in the layout. This issue does not occur when exporting a regular non-map series layout to PDF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what the image looks like in the exported PDF. It should not have this border:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GB_MattPanunto_GISS_2-1722536536427.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111395iBD61042EE83C3B74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GB_MattPanunto_GISS_2-1722536536427.png" alt="GB_MattPanunto_GISS_2-1722536536427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tinkered with the Python parameters, as well as the settings within ArcGIS Pro and have narrowed the issue down to the "keep_layout_background" parameter. I get borders around my layout elements when specifying a value of True for this parameter, and I do not when specifying a value of False.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I noticed that while the &lt;A title="exportToPDF()" href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/layout-class.htm" target="_self"&gt;exportToPDF&lt;/A&gt; documentation shows this parameter in Python as "keep_layout_background", in ArcGIS Pro, this parameter is named "Remove layout background". The wording of these parameters&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;read&lt;/I&gt;&lt;/STRONG&gt; in an opposite fashion, however, they seem to behave the same. Specifying a value of True in both Python and ArcGIS Pro produces the border issue in my exported PDFs, while a value of False does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GB_MattPanunto_GISS_1-1722536393619.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111394i9AE4632304890436/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GB_MattPanunto_GISS_1-1722536393619.png" alt="GB_MattPanunto_GISS_1-1722536393619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I must assume this inconsistent wording is an oversight, and that they should be the same/similar? I also can't explain why this border issue only occurs for a map series layout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did see the following posts, and workarounds listed therein, but I seem to be experiencing a somewhat different issue. Disabling the Adobe settings for "Smooth images", "Enhance thin lines", and "Smooth line art" seem to resolve the border issue at first, but they are still visible upon closely zooming into the PDF (~300%). And again, this is only an issue for map series exports.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/on-export-picture-element-in-layout-has-border/td-p/1221629" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/on-export-picture-element-in-layout-has-border/td-p/1221629&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/new-to-gis-questions/remove-border-around-images-export-to-pdf/m-p/401290" target="_blank"&gt;https://community.esri.com/t5/new-to-gis-questions/remove-border-around-images-export-to-pdf/m-p/401290&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 01 Aug 2024 18:59:30 GMT</pubDate>
    <dc:creator>GB_MattPanunto_GISS</dc:creator>
    <dc:date>2024-08-01T18:59:30Z</dc:date>
    <item>
      <title>Map Series Export to PDF - borders around images</title>
      <link>https://community.esri.com/t5/python-questions/map-series-export-to-pdf-borders-around-images/m-p/1513829#M71190</link>
      <description>&lt;P&gt;Using ArcGIS Pro v3.2.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When exporting a map series layout to PDF, I am having an issue where thin grey borders are showing around my images, and legend in my exported PDFs, however, these borders are not visible in the layout. This issue does not occur when exporting a regular non-map series layout to PDF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what the image looks like in the exported PDF. It should not have this border:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GB_MattPanunto_GISS_2-1722536536427.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111395iBD61042EE83C3B74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GB_MattPanunto_GISS_2-1722536536427.png" alt="GB_MattPanunto_GISS_2-1722536536427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tinkered with the Python parameters, as well as the settings within ArcGIS Pro and have narrowed the issue down to the "keep_layout_background" parameter. I get borders around my layout elements when specifying a value of True for this parameter, and I do not when specifying a value of False.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I noticed that while the &lt;A title="exportToPDF()" href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/layout-class.htm" target="_self"&gt;exportToPDF&lt;/A&gt; documentation shows this parameter in Python as "keep_layout_background", in ArcGIS Pro, this parameter is named "Remove layout background". The wording of these parameters&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;read&lt;/I&gt;&lt;/STRONG&gt; in an opposite fashion, however, they seem to behave the same. Specifying a value of True in both Python and ArcGIS Pro produces the border issue in my exported PDFs, while a value of False does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GB_MattPanunto_GISS_1-1722536393619.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111394i9AE4632304890436/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GB_MattPanunto_GISS_1-1722536393619.png" alt="GB_MattPanunto_GISS_1-1722536393619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I must assume this inconsistent wording is an oversight, and that they should be the same/similar? I also can't explain why this border issue only occurs for a map series layout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did see the following posts, and workarounds listed therein, but I seem to be experiencing a somewhat different issue. Disabling the Adobe settings for "Smooth images", "Enhance thin lines", and "Smooth line art" seem to resolve the border issue at first, but they are still visible upon closely zooming into the PDF (~300%). And again, this is only an issue for map series exports.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/on-export-picture-element-in-layout-has-border/td-p/1221629" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/on-export-picture-element-in-layout-has-border/td-p/1221629&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/new-to-gis-questions/remove-border-around-images-export-to-pdf/m-p/401290" target="_blank"&gt;https://community.esri.com/t5/new-to-gis-questions/remove-border-around-images-export-to-pdf/m-p/401290&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 01 Aug 2024 18:59:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/map-series-export-to-pdf-borders-around-images/m-p/1513829#M71190</guid>
      <dc:creator>GB_MattPanunto_GISS</dc:creator>
      <dc:date>2024-08-01T18:59:30Z</dc:date>
    </item>
  </channel>
</rss>

