Q. TSE: How to possibly convert on Microsoft Windows and Linux WSL natively file formats (e.g. .png to .ppm, .jpg to .ppm, ...? [image v1]
Hello,
1. See the attached program
chanficp.s
2. Put it e.g. in your working directory
3. Compile it
4. Make sure that you have a file
plot.png
in the current directory
5. Run it
Input the from file: e.g. plot.png
Input the to file: e.g. plot.ppm
6. It will convert your .png file to a .ppm file
7. Tested successfully on TSE for Microsoft Windows version 4.50.24
and also
TSE for Linux version 4.50 official release