Top > All Packages in Directory > ppm2html

ppm2html - 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.



Obtaining

Web pagehttp://www.haenselmann.de/homebrew/
Source tarballhttp://www.haenselmann.de/homebrew/ppm2html.tar.gz
Version 1.0 (stable) released on 2003-02-06
Licensed under The GNU General Public License, Version 2 or later.
This is not a GNU package.

Support contacts

Help List<[email protected]>
Developer List<[email protected]>
Bug List<[email protected]>

Project contacts

Maintainers
Developers

Related information

InterfacesX Window System
Source languagesC++

Entry information

License verified byJanet Casey <[email protected]> on 2003-02-06
Entry compiled byJanet Casey <[email protected]>

Categories



The copyright licensing notice below applies to this text. The software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Copyright © 2000, 2001, 2002, 2003 Free Software Foundation, Inc.

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

Please report any problems in this page to [email protected], or find out how you can help fix them.

The FSF provides this directory as a service to the free software community. Please consider donating to the FSF to help support this project.