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
Convert ASCII-described file to binary format
Moderators: XnTriq, helmut, xnview
Re: Convert ASCII-described file to binary format
file foo.ppm
P6
3 2
1
000000000000000000
>nconvert -o foo.pcx -ascii foo.ppm
converts .ppm to .pnm too
Alex
P6
3 2
1
000000000000000000
>nconvert -o foo.pcx -ascii foo.ppm
converts .ppm to .pnm too
Alex
Re: Convert ASCII-described file to binary format
Thank you, Pierre