<?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>idea Batch Resize Image Attachements in ArcGIS Server in ArcGIS Enterprise Ideas</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idi-p/937345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This feature would enable administrators to quickly resize a feature classes's image attachments that do not meet the maximum image dimensions or file size, or file format. This would be very helpful when looking to reduce the size of geodatabases with lots of over-sized image attachments from apps such as Collector. It would also be helpful if apps such as collector could automatically resize images, change them to a desired format, and set the compression level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2017 00:31:44 GMT</pubDate>
    <dc:creator>MatthewBradbury</dc:creator>
    <dc:date>2017-02-07T00:31:44Z</dc:date>
    <item>
      <title>Batch Resize Image Attachements in ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idi-p/937345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This feature would enable administrators to quickly resize a feature classes's image attachments that do not meet the maximum image dimensions or file size, or file format. This would be very helpful when looking to reduce the size of geodatabases with lots of over-sized image attachments from apps such as Collector. It would also be helpful if apps such as collector could automatically resize images, change them to a desired format, and set the compression level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 00:31:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idi-p/937345</guid>
      <dc:creator>MatthewBradbury</dc:creator>
      <dc:date>2017-02-07T00:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Resize Image Attachements in ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idc-p/937346#M859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could do this with a nightly python script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 21:46:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idc-p/937346#M859</guid>
      <dc:creator>roemhildtg</dc:creator>
      <dc:date>2017-02-07T21:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Resize Image Attachements in ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idc-p/937347#M860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you happen to have a python script to do this? It's something I'm super interested in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 16:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idc-p/937347#M860</guid>
      <dc:creator>RandyBonds_Jr_</dc:creator>
      <dc:date>2018-10-16T16:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Resize Image Attachements in ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idc-p/937348#M861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have a script that does this but I'd start with something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/charlesthk/python-resize-image" title="https://github.com/charlesthk/python-resize-image" rel="nofollow noopener noreferrer" target="_blank"&gt;GitHub - charlesthk/python-resize-image: A Small python package to easily resize images&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; PIL &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; Image

&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; resizeimage &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; resizeimage


&lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; open&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'test-image.jpeg'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'r+b'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; f&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; Image&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;open&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;f&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; image&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cover &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; resizeimage&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;resize_cover&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;image&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;200&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;100&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cover&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;save&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'test-image-cover.jpeg'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; image&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe combine that with&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.features.managers.html#attachmentmanager" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.features.managers.html#attachmentmanager" rel="nofollow noopener noreferrer" target="_blank"&gt;arcgis.features.managers module — arcgis 1.5.0 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 11:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idc-p/937348#M861</guid>
      <dc:creator>roemhildtg</dc:creator>
      <dc:date>2021-12-12T11:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Resize Image Attachements in ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idc-p/1540160#M3911</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/50165"&gt;@MatthewBradbury&lt;/a&gt;&amp;nbsp;/ &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/192343"&gt;@roemhildtg&lt;/a&gt;&amp;nbsp;did you ever accomplish this using a python script?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 20:27:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/batch-resize-image-attachements-in-arcgis-server/idc-p/1540160#M3911</guid>
      <dc:creator>sophered</dc:creator>
      <dc:date>2024-09-18T20:27:33Z</dc:date>
    </item>
  </channel>
</rss>

