Re: img->ascii
From Troy Piggins <use...@piggo.com>
· alt.ascii-art
· 19 Oct 2006 00:20 · View full thread
· report
* Eli the Bearded wrote: > In alt.ascii-art, Troy Piggins <use...@piggo.com> wrote: >> * Eli the Bearded wrote: >> > Actually, now I have a colorizer that I use with it, too. Example >> > usage: >> > >> > djpeg IMAGE.jpg > IMAGE.ppm >> > pnmscale -yscale 0.25 -xscale 0.5 IMAGE.ppm > IMAGE-scaled.ppm >> > ppmtopgm IMAGE-scaled.ppm > IMAGE-scaled.pgm >> > # sometimes a pnminvert of the pgm file will help a lot >> > pgmtoascii IMAGE-scaled.pgm > IMAGE-scaled.txt >> > colorizeascii IMAGE-scaled.txt IMAGE-scaled.ppm > IMAGE-scaled.html >> >> This line I got an error: >> >> $ colorizeascii image.txt image-scaled.ppm > image.html >> colorizeascii: text error image.txt: not enough characters > > Ah. That's right. The pgmtoascii previously posted has a bug that > drops the last few letters of the last line, most of the time. > Updated version at the end of this post. Got it. >> So close yet so far... > > The colorizer doesn't need ASCII art for the text input. So if > you want to create stuff like the linux kernel colorized to show > Tux, you can do that. > > This stuff makes mod_gzip (or the like) a good idea. $ colorizeascii image-scaled.txt image-scaled.ppm > image-scaled.html colorizeascii: no portable graymap image file found :( Does $TERM etc affect it? -- Troy Piggins ,-o o ) Ubuntu linux 6.06 http://ubuntu.com RLU#415538 http://counter.li.org `-o uptime: 10:19:50 up 15 days,3:14,2 users,load average:0.00,0.01,0.00
Original message headers
X-Google-Thread: f996b,d2eee4c8b9d7cb21 X-Google-Attributes: gidf996b,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail Newsgroups: alt.ascii-art From: Troy Piggins <use...@piggo.com> Subject: Re: img->ascii References: <4529c70f$0$19626$882...@free.teranews.com> <200...@usenet.piggo.com> <eli$061...@qz.little-neck.ny.us> <200...@usenet.piggo.com> <eli$061...@qz.little-neck.ny.us> Reply-To: use...@piggo.com Message-ID: <200...@usenet.piggo.com> User-Agent: slrn/0.9.8.1pl1/rt (Linux) Date: Thu, 19 Oct 2006 10:20:54 +1000 Lines: 45 NNTP-Posting-Host: 203.206.60.205 X-Trace: 1161217503 per-qv1-newsreader-01.iinet.net.au 24684 203.206.60.205 Xref: g2news2.google.com alt.ascii-art:2523
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 2006 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.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.