[syslinux] stdin is not a PNM file at /usr/bin/ppmtolss16line 214

Ferenc Wagner wferi at niif.hu
Wed Sep 29 01:55:23 PDT 2010


"MONDON Daniel" <Daniel.MONDON at lpgtechnologies.com> writes:

> I've try a few command. With or without any argument (in this case, I
> write the input file name after).
> --> sudo ppmtolss16 ~/tst.ppm ~/tst.lss16
> Result:
> /usr/bin/ppmtolss16: unknown argument: /home/xxx/tst.ppm
> /usr/bin/ppmtolss16: unknown argument: /home/xxx/tst.lss16
>
> Q
> And then, I have the msg :
> /usr/bin/ppmtolss16: stdin is not a PNM file at /usr/bin/ppmtolss16 line 214

As the messages try point out, ppmtolss16 does not understand command
line arguments, it expects to read the PPM/PNM file from the standard
input and writes the result to the standard output.

So use shell redirection, and no need to sudo:

ppmtolss16 <tst.ppm >tst.lss16
-- 
Regards,
Feri.




More information about the Syslinux mailing list