Convert ASCII-described file to binary format
Posted: Thu Dec 27, 2018 6:02 pm
Hi,
i have portable Greyscale file
P1
3 2
0 0 0
0 0 0
and i want to convert this to pcx.
>nconvert -o foo.pcx foo.pgm
but the result is pnm (portable pixmap) )file.
Is there some other way to convert ASCII-described file to binary format?
Thank you in advance
Alex
i have portable Greyscale file
P1
3 2
0 0 0
0 0 0
and i want to convert this to pcx.
>nconvert -o foo.pcx foo.pgm
but the result is pnm (portable pixmap) )file.
Is there some other way to convert ASCII-described file to binary format?
Thank you in advance
Alex