Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Colored ASCII Art from Pictures

by dmckee (Scribe)
on May 01, 2001 at 23:30 UTC ( [id://77089]=note: print w/replies, xml ) Need Help??


in reply to Colored ASCII Art from Pictures

When I was creating the first version of img2gif I used 'RAW' file format, exported from Paint Shop Pro, which looks like this:


255 255 255
128 128 128
64 64 64
0 0 0

Which could be a 1x4, 4x1 or 2x2 image... it doesn't save the dimensions. That'd save messing about with parsing JPGs etc... but's useless on a website. Or you could try to use GD, which I found less useful than Image::Magick... only use PNGs, I think...

Maybe you could try to pull the relevant parts of Image::Magick inline into your program? (Is this generally possible?)

Just my .02 pence worth... ;-)

Dave

Eight years involved with the nuclear industry have taught me that when nothing can possible go wrong and every avenue has been covered, then is the time to buy a house on the next continent. Terry Pratchett

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://77089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-25 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found