项目作者: dadul96

项目描述 :
Converts a text file into a Portable GrayMap (.pgm) picture.
高级语言: C++
项目地址: git://github.com/dadul96/TextToPortableGrayMap.git
创建时间: 2020-03-07T19:53:54Z
项目社区:https://github.com/dadul96/TextToPortableGrayMap

开源协议:MIT License

下载


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