Converts a text file into a Portable GrayMap (.pgm) picture. The resulting picture can be converted back using the code from my PortableGrayMapToText-repo.
There is no installation required. Just download the exe-file (TextToPortableGrayMap.exe
from Releases) or compile it yourself.
- 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.
The example files can be found in the example
-folder.
- Visual Studio 2019 - IDE used for programming
Daniel Duller - dadul96
This project is licensed under the MIT License - see the LICENSE file for details