X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,b0782aa85dc0c3 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2002-03-17 13:43:02 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!gestalt.direcpc.com!news.stealth.net!news.stealth.net!194.25.134.62.MISMATCH!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: "Johannes 'Joey' R�ssel" Newsgroups: alt.ascii-art Subject: Re: Gif to Ascii Converter Date: Sun, 17 Mar 2002 22:49:31 -0800 Organization: (none) Lines: 27 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1016401320 04 17087 cv4yTWvES9AD97 020317 21:42:00 X-Complaints-To: abuse@t-online.com X-Sender: 038100090476-0001@t-dialin.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com alt.ascii-art:15692 > #!/bin/bash > # giftoascii.sh > if [[ $# < 2 ]] ; then > echo two args > echo filename and size percentage modifer > exit 1 > fi > TMPFILE="$(echo $1 | sed 's/\.gif$//g' | awk '{print $1}')" > convert -geometry $2% $1 $TMPFILE.pbm && pbmtoascii $TMPFILE.pbm > rm -f $TMPFILE.pbm > > #!/bin/bash > # jpgtoascii.sh > if [[ $# < 2 ]] ; then > echo two args > echo filename and size percentage modifer > exit 1 > fi > TMPFILE="$(echo $1 | sed 's/\.jpg$//g' | awk '{print $1}')" > convert -geometry $2% $1 $TMPFILE.pbm && pbmtoascii $TMPFILE.pbm > rm -f $TMPFILE.pbm Simply use JavE. Joey