Skip to content

Converts a text file into a Portable GrayMap (.pgm) picture.

License

Notifications You must be signed in to change notification settings

dadul96/TextToPortableGrayMap

Repository files navigation

TextToPortableGrayMap

Converts a text file into a Portable GrayMap (.pgm) picture. The resulting picture can be converted back using the code from my PortableGrayMapToText-repo.

Installation

There is no installation required. Just download the exe-file (TextToPortableGrayMap.exe from Releases) or compile it yourself.

How to use

  • Copy a text-file with the name input.txt into the same folder as the exe-file and run it.
  • The output image will be called output.pgm and stored in the same folder.

Example

The example files can be found in the example-folder.

Screenshot of the input-textfile:

Screenshot of the output-picture:

Built With

Author

Daniel Duller - dadul96

License

This project is licensed under the MIT License - see the LICENSE file for details