Re: Gif to Ascii Converter
On Tue, 12 Mar 2002 07:15:00 GMT, Faux_Pseudo <Fau...@yahoo.comERCIAL> wrote: > --(Once apon a time, in alt.ascii-art,)-- > --(Harry Mason said it like only they can.)-- > > I think giftopnm generates either ppm or pgm files, depending on the > > palette in the input file. > > ?? depending on the palette? That does not sound like any command > line conversion app I have ever used. Sounds more like windows make > in choices you never wanted it to make. I think a 2-colour GIF will generate a pbm, a 256-gray GIF will create a pgm, and anything else will generate a ppm. If it generated a specific format it would be called giftoppm (or whatever). pnm is not a real format - it means either ppm, pgm or pbm. ppmtopgm(1) says 'any ppm program can read pgm (and pbm) files automatically'. Even if giftopnm has generated a pbm or pgm, you can still pipe it through ppmtopgm | pgmtopbm | pbmtoascii successfully. I've tested this with pbmmake and pgmcrater and it works. -- Harry Mason ("hjm200.ecs@soton@ac@uk" =~ tr/@./.@/)
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,b0782aa85dc0c3 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2002-03-12 01:21:07 PST Newsgroups: alt.ascii-art From: Harry Mason <spa...@no.spam> Subject: Re: Gif to Ascii Converter References: <a5m5t4$418$01$1...@news.t-online.com> <a5mm43$8onhh$1...@ID-53633.news.dfncis.de> <slrna8osnt.nm.Faux_Pseudo@fugozi.cx1209071-a> <slr...@localhost.localdomain> <slrna8ranl.8n.Faux_Pseudo@fugozi.cx1209071-a> Message-ID: <slr...@localhost.localdomain> User-Agent: slrn/0.9.7.2 (Linux) NNTP-Posting-Host: random.ecs.soton.ac.uk Date: 12 Mar 2002 09:20:25 GMT X-Trace: 12 Mar 2002 09:20:25 GMT, random.ecs.soton.ac.uk Lines: 24 Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!newspeer.clara.net!news.clara.net!server3.netnews.ja.net!news-spool.soton.ac.uk!news.ecs.soton.ac.uk!random.ecs.soton.ac.uk Xref: archiver1.google.com alt.ascii-art:15530
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 2002 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.