title: How do I generate a texture with texturetool that pvr2atf will accept?
body: <p>The Adobe docs for the new ATF SDK (<a href="http://www.adobe.com/devnet/flashruntimes/articles/atf-users-guide.html" rel="nofollow">http://www.adobe.com/devnet/flashruntimes/articles/atf-users-guide.html</a>) state that the pvr2atf file is specifically designed to let you convert textures created with texturetool into ATF textures. I have a PNG texture (with transparency), and when I create an ATF with it directly, I get some odd artifacts around the edges of the non-transparent pixels. When I create a PVRTC texture with texturetool from the same source image, the preview generated by texture tool looks great. So, I was hoping I'd then be able to convert that into a clean ATF that I could then use on iOS in a Starling app.</p>
  
  <p>However, when I use the texture created by this command: </p>
  
  <pre><code>texturetool -e PVRTC -o atlas0.pvrtc -p atlas0-preview.png -f PVR atlas0.png 
  </code></pre>
  
  <p>pvr2atf complains:</p>
  
  <pre><code>Illegal pvrtc texture type.
  
  (Hint 1: In PVRTexTool CL type needs to be OGLPVRTC4)
  (Hint 2: In PVRTexTool UI select the 'OpenGL ES2.0' tab in the 'Encode Texture:' dialog and select 'PVRTC 4BPP')
  
  Conversion failed!
  </code></pre>
  
  <p>I've tried a few different options to the texturetool, but have not managed to generate a single texture that pvr2atf doesn't have a problem with. Has anybody managed to do this? These tools are very new, and there's not a lot of info out there, aside from what Adobe has written (and in some cases their docs directly contradict the result of the tools, such as in the case of when transparency is supported).</p>
  
  <p>I am downloading PVRTexTool now to see if I have better luck there, but I need this eventually to be automatible so needing a GUI tool would be a major bummer.</p>