[syslinux] stdin is not a PNM file at/usr/bin/ppmtolss16line 214
MONDON Daniel
Daniel.MONDON at lpgtechnologies.com
Wed Sep 29 06:22:40 PDT 2010
-----Message d'origine-----
De : syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com] De la part de Ferenc Wagner
Envoyé : mercredi 29 septembre 2010 10:55
À : For discussion of SYSLINUX and tftp-hpa
Objet : Re: [syslinux] stdin is not a PNM file at/usr/bin/ppmtolss16line 214
"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.
_______________________________________________
Thanks a million!
I succeed to generate without any error! :)
But the picture is not displayed!
I think it's because I don't have the correct syntax!
In my syslinux.cfg file I've got
DISPLAY my_picture.lss16
The picture is 640x480 image in black and white (very simple).
Have I to do any configuration before to print it?
Or the Display line is ko ?
Thanks!
Daniel.
_______________________________________________
Syslinux mailing list
Submissions to Syslinux at zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
More information about the Syslinux
mailing list