ppmtoilbm - convert a portable pixmap into an ILBM file
ppmtoilbm [-maxplanes|-mp N] [-fixplanes|-fp N] [-ham6|-ham8] [-dcbits|-dcplanesrgb] [-normal|-hamif|-hamforce|-24if|-24force| -dcif|-dcforce|-cmaponly] [-ecs|-aga] [-compress|-nocompress] [-cmethod type] [-mapppmfile] [-savemem] [ppmfile]
Reads a portable pixmap as input. Produces an ILBM file as output. Supported ILBM types are: Normal ILBMs with 1-16 planes. Amiga HAM with 3-16 planes. 24 bit. Color map (BMHD + CMAP chunk only, nPlanes = 0). Unofficial direct color. 1-16 planes for each color component. Chunks written: BMHD, CMAP, CAMG (only for HAM), BODY (not for colormap files) unofficial DCOL chunk for direct color ILBM
Options marked with (*) can be prefixed with a "no", e.g. "-nohamif". All options can be abbreviated to their shortest unique prefix. -maxplanes | -mp n (default 5, minimum 1, maximum 16) Maximum planes to write in a normal ILBM. If the pixmap does not fit into <n> planes, ppmtoilbm writes a HAM file (if -hamif is used), a 24bit file (if -24if is used) or a direct color file (if -dcif is used) or aborts with an error. -fixplanes | -fp n (min 1, max 16) If a normal ILBM is written, it will have exactly <n> planes. -hambits | -hamplanes n (default 6, min 3, max 16) Select number of planes for HAM picture. The current Amiga hardware supports 6 and 8 planes, so for now you should only use this values. -normal (default) Turns off -hamif/-24if/-dcif, -hamforce/-24force/-dcforce and -cmaponly. Also sets compression type to byterun1. -hamif (*) -24if (*) -dcif (*) Write a HAM/24bit/direct color file if the pixmap does not fit into <maxplanes> planes. -hamforce (*) -24force (*) -dcforce (*) Write a HAM/24bit/direct color file. -dcbits | -dcplanes r g b (default 5, min 1, max 16). Select number of bits for red, green & blue in a direct color ILBM. -ecs (default) Shortcut for: -hamplanes 6 -maxplanes 5 -aga Shortcut for: -hamplanes 8 -maxplanes 8 -ham6 Shortcut for: -hamplanes 6 -hamforce -ham8 Shortcut for: -hamplanes 8 -hamforce -compress (*) (default) -cmethod none|byterun1 Compress the BODY chunk. The default compression method is byterun1. Compression requires building the ILBM image in memory; turning compression off allows stream-writing of the image, but the resulting file will usually be 30% to 50% larger. Another alternative is the -savemem option, this will keep memory requirements for compression at a minimum, but is very slow. -map ppmfile Write a normal ILBM using the colors in <ppmfile> as the colormap. The colormap file also determines the number of planes, a -maxplanes or -fixplanes option is ignored. -cmaponly Write a colormap file: only BMHD and CMAP chunks, no BODY chunk, nPlanes = 0. -savemem See the -compress option.
HAM pictures will always get a grayscale colormap; a real color selection algorithm might give better results. On the other hand, this allows row-by-row operation on HAM images, and all HAM images of the same depth (no. of planes) share a common colormap, which is useful for building HAM animations.
Amiga ROM Kernel Reference Manual - Devices (3rd Ed.) Addison Wesley, ISBN 0-201-56775-X
ppm(5), ilbmtoppm(1)
Copyright (C) 1989 by Jef Poskanzer. Modified October 1993 by Ingo Wilken (Ingo.Wilken@informatik.uni- oldenburg.de) 31 October 1993 ppmtoilbm(1)
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.