diff options
author | Robert Ly <robertly@google.com> | 2011-07-18 12:51:47 -0700 |
---|---|---|
committer | Robert Ly <robertly@google.com> | 2011-07-26 14:08:05 -0700 |
commit | c80b7ad6e079d7e3ed2c53ea769858c571d6735f (patch) | |
tree | 26b201966276db8e829ae9de8b3ef9703dfe53ea /docs | |
parent | 070ce94b9fd91d1bb22161a85178440cb46d8ece (diff) | |
download | frameworks_base-c80b7ad6e079d7e3ed2c53ea769858c571d6735f.zip frameworks_base-c80b7ad6e079d7e3ed2c53ea769858c571d6735f.tar.gz frameworks_base-c80b7ad6e079d7e3ed2c53ea769858c571d6735f.tar.bz2 |
cherrypick from hc-mr2 Change-Id: Iea8df8fda144d4c66d407927d260263c9982df51
Change-Id: I1b027de2c5e5cf370f19d7b64807135b1d0413da
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/guide/developing/tools/etc1tool.jd | 68 | ||||
-rw-r--r-- | docs/html/guide/guide_toc.cs | 14 |
2 files changed, 76 insertions, 6 deletions
diff --git a/docs/html/guide/developing/tools/etc1tool.jd b/docs/html/guide/developing/tools/etc1tool.jd new file mode 100644 index 0000000..a7f76f5 --- /dev/null +++ b/docs/html/guide/developing/tools/etc1tool.jd @@ -0,0 +1,68 @@ +page.title=etc1tool +parent.title=Tools +parent.link=index.html +@jd:body + + + <p><code>etc1tool</code> is a command line utility that lets you encode PNG + images to the ETC1 compression standard and decode ETC1 compressed images back to PNG.</p> + + <p>The usage for <code>etc1tool</code> is:</p> +<pre>etc1tool infile [--help | --encode | --encodeNoHeader | --decode] [--showDifference +diff-file] [-o outfile]</pre> + + <table> + <tr> + <th>Option</th> + + <th>Description</th> + </tr> + + <tr> + <td><code>infile</code></td> + + <td>The input file to compress</td> + </tr> + + <tr> + <td><code>--help</code></td> + + <td>Print usage information</td> + </tr> + + <tr> + <td><code>--encode</code></td> + + <td>Create an ETC1 file from a PNG file. + This is the default mode for the tool if nothing is specified.</td> + </tr> + + <tr> + <td><code>--encodeNoHeader</code></td> + + <td>Create a raw ETC1 data file (without a header) from a PNG file.</td> + </tr> + + <tr> + <td><code>--decode</code></td> + + <td>Create a PNG file from an ETC1 file</td> + </tr> + + <tr> + <td><code>--showDifference <em>diff-file</em></code></td> + + <td>Write the difference between the original and encoded image to + <code><em>diff-file</em></code> (only valid when encoding).</td> + </tr> + + <tr> + <td><code>-o <em>outfile</em></code></td> + + <td>Specify the name of the output file. + If <code><em>outfile</em></code> is not specified, the output file is constructed + from the input filename with the appropriate suffix (<code>.pkm</code> or <code>.png</code>). + </td> + </tr> + + </table>
\ No newline at end of file diff --git a/docs/html/guide/guide_toc.cs b/docs/html/guide/guide_toc.cs index f7dbe30..c5c7ae2 100644 --- a/docs/html/guide/guide_toc.cs +++ b/docs/html/guide/guide_toc.cs @@ -148,7 +148,7 @@ </a></li> </ul> </li><!-- end of User Interface --> - + <li class="toggle-list"> <div><a href="<?cs var:toroot ?>guide/topics/resources/index.html"> <span class="en">Application Resources</span> @@ -221,7 +221,7 @@ <li><a href="<?cs var:toroot ?>guide/topics/manifest/provider-element.html"><provider></a></li> <li><a href="<?cs var:toroot ?>guide/topics/manifest/receiver-element.html"><receiver></a></li> <li><a href="<?cs var:toroot ?>guide/topics/manifest/service-element.html"><service></a></li> - <li><a href="<?cs var:toroot ?>guide/topics/manifest/supports-gl-texture-element.html"><supports-gl-texture></a></li> + <li><a href="<?cs var:toroot ?>guide/topics/manifest/supports-gl-texture-element.html"><supports-gl-texture></a></li> <li><a href="<?cs var:toroot ?>guide/topics/manifest/supports-screens-element.html"><supports-screens></a> <span class="new">updated</span></li> <!-- ##api level 4## --> <li><a href="<?cs var:toroot ?>guide/topics/manifest/uses-configuration-element.html"><uses-configuration></a></li> @@ -231,8 +231,8 @@ <li><a href="<?cs var:toroot ?>guide/topics/manifest/uses-sdk-element.html"><uses-sdk></a></li> </ul> </li><!-- end of the manifest file --> - </ul> - + </ul> + <ul> <li class="toggle-list"> <div><a href="<?cs var:toroot ?>guide/topics/graphics/index.html"> @@ -265,7 +265,7 @@ <li><a href="<?cs var:toroot ?>guide/topics/renderscript/compute.html"> <span class="en">Compute</span> </a> - </li> + </li> </ul> </li> @@ -571,8 +571,10 @@ <li><a href="<?cs var:toroot ?>guide/developing/tools/android.html">android</a></li> <li><a href="<?cs var:toroot ?>guide/developing/tools/bmgr.html">bmgr</a> <li><a href="<?cs var:toroot ?>guide/developing/tools/dmtracedump.html">dmtracedump</a></li> - <li><a href="<?cs var:toroot ?>guide/developing/tools/draw9patch.html" >Draw 9-Patch</a></li> + <li><a href="<?cs var:toroot?>guide/developing/tools/draw9patch.html">Draw + 9-Patch</a></li> <li><a href="<?cs var:toroot ?>guide/developing/tools/emulator.html">Emulator</a></li> + <li><a href="<?cs var:toroot ?>guide/developing/tools/etc1tool.html">etc1tool</a></li> <li><a href="<?cs var:toroot ?>guide/developing/tools/hierarchy-viewer.html">Hierarchy Viewer</a></li> <li><a href="<?cs var:toroot ?>guide/developing/tools/hprof-conv.html">hprof-conv</a></li> <li><a href="<?cs var:toroot ?>guide/developing/tools/layoutopt.html">layoutopt</a></li> |