Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 18 Mar 2002.
Re: Gif to Ascii Converter

Re: Gif to Ascii Converter

> #!/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

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-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" <Joh...@WeB.DE>
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: <a732j8$glv$04$1...@news.t-online.com>
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> <slr...@localhost.localdomain> <slrna8ti56.3ap.Faux_Pseudo@fugozi.cx1209071-a>
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: abu...@t-online.com
X-Sender: 038...@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
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.