[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Problem in creating gifs from Nam Dump/ppms
Thanks for your replies.
I managed to have the utilities installed.xwdppm is
now renamed as xwdpnm in the distribution.I am using
this program to create a ppm file. But ppmtogif is
giving error. I am using the script just as given in
manual
for i in *.xwd; do
xwdtopnm <$i |
ppmtogif -interlace -transparent\222#e5e5e5\222
>\221basename $i .xwd\221.gif;
done
gifmerge -l0 -2 -229,229,229 *.gif >movie.gif
And following is what it shows
xwdtopnm: writing PPM file
usage: ppmtogif [-interlace] [-sort] [-map mapfile]
[-transparent color] [ppmfile]
All I can think of is either ppm is not getting
created properly or there is a version mismatch of
ppmtogif with what is given in the script. What else
might be the problem?
I shall greatly appreciate your comments.
ann
--- John Heidemann <[email protected]> wrote:
> >These are separate programs. The *ppm* stuff are
> from netpbm library and
> >the latter is from gifmerge. Go find them from
> google and install, or ask
> >your sysadmin...
> >
> >On Mon, 27 Nov 2000, Ann Monico wrote:
> >
> >> Hi,
> >>
> >> I referred to the ns manual which gives a script
> to
> >> convert xwd files to gif. However I am getting
> error
> >> saying xwdtoppm, ppmtogif, gifmerge not found. I
> am
> >> executing the shellscript in sh (not csh as
> mentioned
> >> in the manual) and in Solaris 2.8. Wondering if
> I'm
> >> missing something here,
>
> I've updated the manual with pointers to the where
> the programs are:
>
> Please note that these programs (xwdtoppm, ppmtogif,
> gifmerge)
> are \emph{not} part of ns.
> You can get the first two from
> \url{http://download.sourceforge.net/netpbm/}
> and gifmerge from
> \url{http://www.the-labs.com/GIFMerge/}.
>
>
> -John
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/