title: Create Layered Image in TVML (tvOS)
body: <p>I'd like to create a layered image for use on tvOS 9.0 using TVML markup.</p>
  
  <p>This seems like it should be a relatively common problem, but there doesn't seem to be any way to do this (as of tvOS Beta 3).  In the Apple TVML demo app it accomplishes this by using multi-layer images that are <a href="https://developer.apple.com/tvos/human-interface-guidelines/icons-and-images/" rel="nofollow noreferrer">pre-compiled into a single .lsr file</a>, rather than in markup with each layer separately noted.</p>
  
  <p>It is possible to script the creation of .lsr files using the <code>layerutil</code> CLI program, but this would be a huge hassle for the app I'm trying to build where the images will be user-generated-content.</p>
  
  <p>Instead it would be great to be able to do something like this (note the <code>src-layer1</code> property for adding an extra layer above the base <code>src</code>):</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;lockup&gt;
    &lt;img src="https://i.ytimg.com/vi/dQw4w9WgXcQ/mqdefault.jpg" src-layer1="https://server.com/path/to/overlay.png" height="180" width="320"/&gt;
    &lt;title&gt;Rick Astley - Never Gonna Give You Up&lt;/title&gt;
  &lt;/lockup&gt;
  </code></pre>
  
  <p>Is there any other efficient way to do this other than scripting a lot of back and forth to a server to generate a .lsr file?</p>
  
  <p><em>Update - Oct 21 2015:</em> At the <a href="https://developer.apple.com/library/prerelease/tvos/documentation/LanguagesUtilities/Conceptual/ATV_Template_Guide/ResourceValues.html" rel="nofollow noreferrer">bottom of this documentation page</a> Apple provides a checkmark overlay image that would be perfect for this use called <code>resource://button-play</code>.  But there still seems to be no way to use this icon overlay in TVML. :-/</p>
  
  <p><a href="https://i.stack.imgur.com/jkcZE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jkcZE.png" alt="enter image description here"></a></p>