How about use convert(Imagemagick):jpeg2ps can do the same (and can output directly to stdout, without creating file.eps); it produces much smaller .eps output than convert:
convert file.jpg fire.eps
and output the eps in the session.
echo -n $DATA_BEGIN
echo -n ps:
jpeg2ps $FILE.jpg
echo -n $DATA_END
Archive powered by MHonArc 2.6.19.