From Free Software Directory
Jump to: navigation, search

Reviews: 0 ... further results.



Converts an RGB PPM image to an HTML page

'ppm2html' converts an RGB PPM image to an HTML page. The page will display an approximated version of the image only using ASCII characters and color definitions. The tool makes full use of 24 bit color in HTML. If a 'source string' is being defined this string will repeatedly be used as the character source for rendering the ASCII output. If omitted, random characters between 'a' and 'z' will be used. The 'red', 'green', and 'blue' values define the background color of the HTML page. If no command line arguments are given, the page is rendered black. User will get the best results by converting segmented objects (the background of the image is replaced by a single color) and keeping the level of detail low. A small blur on the image results in a nicer visual appearance, especially when displaying text. Note that output varies among different browsers; in particular, horizontal scaling might differ a lot. Using unique renderings for each browser yields the best results.



Verified by

Verified on


Verified by

Janet Casey

Verified on

6 February 2003

Leaders and contributors

Thomas Haenselmann Maintainer

Resources and communication

AudienceResource typeURI
Bug Tracking,Developer,SupportE-mailmailto:thomas.haenselmann@epost.de

Software prerequisites

This entry (in part or in whole) was last reviewed on 22 January 2008.


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.