<?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: How to transform images (Flip and Rotate) using Python? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181756#M13992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try use the third party 'Pillow' python module.&lt;/P&gt;&lt;P&gt;This should allow you to rotate multiple images at once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2017 09:07:35 GMT</pubDate>
    <dc:creator>RichardGeoghegan2</dc:creator>
    <dc:date>2017-09-13T09:07:35Z</dc:date>
    <item>
      <title>How to transform images (Flip and Rotate) using Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181753#M13989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have received imagery from a surveyor that is currently falling within the Northern Hemisphere and upside down. The following is easy to resolve if its a CAD drawing using the "Transformations" tab under the properties window of the CAD layer within ArcMap. Is there a way to apply the same transformation using Python for each image tile?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAD: Transformation&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="370329" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/370329_pastedImage_3.png" style="width: 620px; height: 561px;" /&gt;&lt;/P&gt;&lt;P&gt;Original Position: Northern Hemisphere and rotated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="370330" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/370330_pastedImage_4.png" style="width: 620px; height: 490px;" /&gt;&lt;/P&gt;&lt;P&gt;CAD: Transformation and Rotation&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="370334" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/370334_pastedImage_5.png" style="width: 620px; height: 375px;" /&gt;&lt;/P&gt;&lt;P&gt;CAD: Transformed (correct location)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/370336_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Imagery: Current Imagery (Northern hemisphere and rotated)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance to achieve the following will be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 08:43:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181753#M13989</guid>
      <dc:creator>PeterWilson</dc:creator>
      <dc:date>2017-09-08T08:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to transform images (Flip and Rotate) using Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181754#M13990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/flip.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/flip.htm"&gt;Flip—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 09:44:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181754#M13990</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2017-09-08T09:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to transform images (Flip and Rotate) using Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181755#M13991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I bet you don't have world files for the images... Sounds like a missing negative sign and a flop of the X and Y coordinates...&amp;nbsp; World files would be a lot faster to fix&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 11:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181755#M13991</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-09-08T11:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to transform images (Flip and Rotate) using Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181756#M13992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try use the third party 'Pillow' python module.&lt;/P&gt;&lt;P&gt;This should allow you to rotate multiple images at once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181756#M13992</guid>
      <dc:creator>RichardGeoghegan2</dc:creator>
      <dc:date>2017-09-13T09:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to transform images (Flip and Rotate) using Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181757#M13993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Dan, and would first take a look at the world file first in case a negative sign is missing or reversed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some links that might help:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/cad/world-files-for-cad-datasets.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/cad/world-files-for-cad-datasets.htm"&gt;World files for CAD datasets—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/world-files-for-raster-datasets.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/world-files-for-raster-datasets.htm"&gt;World files for raster datasets—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;older blog&amp;nbsp;&amp;nbsp; &lt;A class="link-titled" href="https://blogs.esri.com/esri/arcgis/2011/01/19/my-image-is-in-the-wrong-spot/" title="https://blogs.esri.com/esri/arcgis/2011/01/19/my-image-is-in-the-wrong-spot/"&gt;My image is in the wrong spot | ArcGIS Blog&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://en.wikipedia.org/wiki/World_file" title="https://en.wikipedia.org/wiki/World_file"&gt;World file - Wikipedia&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the world file doesn't work, then I would look into the flip...but make sure you know what the input world file and/or spatial reference is, so you can figure out what you need to correct it.&amp;nbsp; You can usually find out this info in ArcCatalog with are right-click to look at the properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I don't have any experience with the "pillow" python mod...but I plan to check it out too).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:40:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181757#M13993</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-09-13T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to transform images (Flip and Rotate) using Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181758#M13994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard&lt;/P&gt;&lt;P&gt;Thanks I clean forgot about Python's Pillow module. I was able to batch all the images and correct them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 18:13:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-transform-images-flip-and-rotate-using/m-p/181758#M13994</guid>
      <dc:creator>PeterWilson</dc:creator>
      <dc:date>2017-09-18T18:13:08Z</dc:date>
    </item>
  </channel>
</rss>

