| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>ALE User Manual: File Output</title> |
| 5 | |
| 6 | <style type="text/css"> |
| 7 | TABLE.ba { max-width: 678; text-align: center; padding-bottom: 15; padding-top: 5} |
| 8 | TABLE.inline { padding-right: 300; clear: left} |
| 9 | TD.text_table {padding-left: 2; padding-right: 2; border-width: 1} |
| 10 | H2 {clear: left} |
| 11 | P {max-width: none; padding-right: 300; clear: left} |
| 12 | BLOCKQUOTE {padding-right: 400 } |
| 13 | LI {max-width: 640; clear: left} |
| 14 | P.footer {max-width: none; width: auto; padding-left: 0} |
| 15 | P.header {max-width: none; width: auto; padding-left: 0} |
| 16 | HR.main {max-width: 640; clear: left; padding-left: 0; margin-left: 0} |
| 17 | HR.footer {clear: both} |
| 18 | </style> |
| 19 | </head><body> |
| 20 | |
| 21 | |
| 22 | |
| 23 | <table align=right valign=top width=160> |
| 24 | <td valign=top height=600 width=160> |
| 25 | <a href="http://auricle.dyndns.org/ALE/"> |
| 26 | <big>ALE</big> |
| 27 | <br> |
| 28 | Image Processing Software |
| 29 | <br> |
| 30 | <br> |
| 31 | <small>Deblurring, Anti-aliasing, and Superresolution.</small></a> |
| 32 | <br><br> |
| 33 | <big> |
| 34 | Local Operation |
| 35 | </big> |
| 36 | <hr> |
| 37 | localhost<br> |
| 38 | 2684415918<br> |
| 39 | </table> |
| 40 | |
| 41 | |
| 42 | |
| 43 | <p><b>[ <a href="../">Up</a> ]</b></p> |
| 44 | <h1>ALE File Output</h1> |
| 45 | |
| 46 | File output options determine the format in which rendered images are written. |
| 47 | Depending on the compilation options used, available file output options vary. |
| 48 | |
| 49 | <h2>PPM Output</h2> |
| 50 | |
| 51 | All builds of ALE support PPM output. PPM can be written in plain (ASCII) or |
| 52 | raw (binary) format. If ALE has been built without ImageMagick support, or if |
| 53 | the file type cannot be automatically determined by file extension, then raw |
| 54 | PPM output is used by default. |
| 55 | |
| 56 | <pre> |
| 57 | --raw Write raw PPM output |
| 58 | --plain Write plain PPM output |
| 59 | </pre> |
| 60 | |
| 61 | <h2>Extension-based file type determination</h2> |
| 62 | |
| 63 | If ALE has been built with ImageMagick support, then the output file type can |
| 64 | be determined automatically by file extension. This is the default behavior |
| 65 | for ImageMagick builds. The <code>--auto</code> flag explicitly specifies that |
| 66 | the default behavior should be used. This flag generates an error on builds |
| 67 | compiled without ImageMagick support. |
| 68 | |
| 69 | <pre> |
| 70 | --auto Determine file type automatically |
| 71 | </pre> |
| 72 | |
| 73 | <h2>Output Color Depth</h2> |
| 74 | |
| 75 | Output color depth of 8 or 16 bits of precision per color channel can be specified, |
| 76 | for 24-bit or 48-bit color, respectively. |
| 77 | |
| 78 | <pre> |
| 79 | --8bpc Write 8 bit per channel output [default] |
| 80 | --16bpc Write 16 bit per channel output |
| 81 | </pre> |
| 82 | |
| 83 | <br> |
| 84 | <hr> |
| 85 | <i>Copyright 2003, 2004 <a href="mailto:[email protected]">David Hilvert</a></i> |
| 86 | <p>Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
| 87 | |
| 88 | |
| 89 | </body> |
| 90 | </html> |