<?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: AGSDynamicLayer image format in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsdynamiclayer-image-format/m-p/230587#M2145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried using the Image I/O framework to produce TIFFs rather than diving into adding libtiff to the application. I saved the TIFF images to disk and loaded them in Preview as a way to gauge the correctness of my TIFF generation code. The imagery never shows up in my layer, though, and I take that to mean that there is no &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;SkImageDecoder&lt;/SPAN&gt;&lt;SPAN&gt; implementation for TIFF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should I be able to send the source bitmap instead of encoding that bitmap as a PNG? I am rendering everything using Core Graphics, creating a &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;UIImage&lt;/SPAN&gt;&lt;SPAN&gt; from the bitmap context, and then converting that to PNG data to pass to &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;-setImageData:forEnvelope:&lt;/SPAN&gt;&lt;SPAN&gt;. If I could just pull the data buffer from the bitmap context and hand that off as &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;NSData&lt;/SPAN&gt;&lt;SPAN&gt;, that would remove a costly step from my pipeline.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 14:59:19 GMT</pubDate>
    <dc:creator>PatrickHartling</dc:creator>
    <dc:date>2013-09-13T14:59:19Z</dc:date>
    <item>
      <title>AGSDynamicLayer image format</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsdynamiclayer-image-format/m-p/230586#M2144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any restriction on the data format that a subclass of &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AGSDynamicLayer&lt;/SPAN&gt;&lt;SPAN&gt; can supply through the &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;-setImageData:forEnvelope:&lt;/SPAN&gt;&lt;SPAN&gt; method? I have been creating the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;NSData&lt;/SPAN&gt;&lt;SPAN&gt; object using &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;UIImagePNGRepresentation()&lt;/SPAN&gt;&lt;SPAN&gt;, but that function is proving to be too slow for what I am trying to achieve. I do not see a way to supply a mask representing the alpha channel to &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AGSDynamicLayer&lt;/SPAN&gt;&lt;SPAN&gt; when the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;NSData&lt;/SPAN&gt;&lt;SPAN&gt; object is made by &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;UIImageJPEGRepresentation()&lt;/SPAN&gt;&lt;SPAN&gt;. That leaves me considering TIFF, but it will take me a bit of time to incorporate libtiff into my project. If TIFF data will not work with &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AGSDynamicLayer&lt;/SPAN&gt;&lt;SPAN&gt;, then I will concentrate on finding some other way to improve performance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 19:31:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsdynamiclayer-image-format/m-p/230586#M2144</guid>
      <dc:creator>PatrickHartling</dc:creator>
      <dc:date>2013-09-10T19:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: AGSDynamicLayer image format</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsdynamiclayer-image-format/m-p/230587#M2145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried using the Image I/O framework to produce TIFFs rather than diving into adding libtiff to the application. I saved the TIFF images to disk and loaded them in Preview as a way to gauge the correctness of my TIFF generation code. The imagery never shows up in my layer, though, and I take that to mean that there is no &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;SkImageDecoder&lt;/SPAN&gt;&lt;SPAN&gt; implementation for TIFF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should I be able to send the source bitmap instead of encoding that bitmap as a PNG? I am rendering everything using Core Graphics, creating a &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;UIImage&lt;/SPAN&gt;&lt;SPAN&gt; from the bitmap context, and then converting that to PNG data to pass to &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;-setImageData:forEnvelope:&lt;/SPAN&gt;&lt;SPAN&gt;. If I could just pull the data buffer from the bitmap context and hand that off as &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;NSData&lt;/SPAN&gt;&lt;SPAN&gt;, that would remove a costly step from my pipeline.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 14:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsdynamiclayer-image-format/m-p/230587#M2145</guid>
      <dc:creator>PatrickHartling</dc:creator>
      <dc:date>2013-09-13T14:59:19Z</dc:date>
    </item>
  </channel>
</rss>

