NFO to BMP

From Helpedia
Jump to navigation Jump to search

Description

This PHP script converts a NFO file into a monochrome bitmap and outputs it to the browser.

Everything is hardcoded, it does not rely on any image libraries to create the image.

Please note that -at the moment this project was created - Internet Explorer does not seem to load BMP images directly in the browser, though the bitmap exported by the script is binary correct and loads fine in other browsers like Mozilla Firefox.

The script is easy to configure and allows you to change the background and foreground colors and limit the image width.

See also

  1. NFO to PNG

Download

You can download the PHP source code and sample NFO packaged in a single ZIP file, 5.50 KB, from this link.

Online demo

Click on this link to view the script in action.