CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Help with perl image creating

 



King_of_Dragons
Novice

Oct 11, 2002, 12:03 PM

Post #1 of 4 (1138 views)
Help with perl image creating Can't Post

I want to know how to make images with perl (like the graphical counters). What I will use it for is "house" creation, where I will make a javascript thing that will allow people to create their own "house" using a grid system and tiles, then convert the grid (which would be lots of tiny pics) to ONE picture (kinda like if you took a desktop screenshot and cropped it). Is this possible, and if so, how would I go about doing it?


fashimpaur
User / Moderator

Oct 11, 2002, 12:16 PM

Post #2 of 4 (1136 views)
Re: [King_of_Dragons] Help with perl image creating [In reply to] Can't Post

Why would you want to use Perl for this task? It could be done simply using a JavaScript or an Applet. This way, it would be executed on the client machine and not take up the time of the server so that it could handle other requests. Kind of an issue of choosing the right tool for the job.

Just a thought,
Dennis

$a="c323745335d3221214b364d545".
"a362532582521254c3640504c3729".
"2f493759214b3635554c3040606a0",
print unpack"u*",pack "h*",$a,"\n\n";


King_of_Dragons
Novice

Oct 11, 2002, 2:34 PM

Post #3 of 4 (1135 views)
Re: [fashimpaur] Help with perl image creating [In reply to] Can't Post

I'm talking about the perl CREATING another image, not just putting 70 images in a grid. This way it doesn't take a long time to load.


Jasmine
Administrator / Moderator

Oct 12, 2002, 8:45 AM

Post #4 of 4 (1132 views)
Re: [King_of_Dragons] Help with perl image creating [In reply to] Can't Post

It's possible, but it's going to take some study and reseach for you to do it. I'd recommend buying Graphics Programming with Perl, or you may get lucky and it'll be at your local library.

There's two sample chapters of this book (in pdf format) on Perl Horizons: [url=http://perlhorizons.com/article.pl?sid=02/09/17/1558232]Chapter 1 - Overview of Graphics and [url=http://perlhorizons.com/article.pl?sid=02/10/08/2049226]Chapter 4 - Drawing

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives