Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Online Design Program

Status
Not open for further replies.

SPrelewicz

Programmer
Jul 16, 2001
124
US
I've been assigned to write an online application that allows users to create a design of a sign. The user would pcik a clip art, add some text and choose a font and font color, etc. I want the user to be able to move the clipart and text around to put it exactly where they want. Is Perl capable of this type of thing, and if so, what modules should I be looking at?

Thanks,

Scott
 
You want either Image::Magick or the NetPBM libraries.

Either way, this is not a perl issue per se, you want to use other software (like ImageMagick and NetPBM) and then the perl libraries can manipulate these items programmatically.

So, Perl could wrap these up for you in a nice web interface or the like.

 
Aha, got it. Thanks for the quick reply. I will look into these and let you know of any further questions. TY.

Scott
 
Probably. I tend to use ImageMagick and NetPBM so I can not say for certain. Try it and see! :)
 
GD is much less complete as an image manipulator than ImageMagick and is better suited to making graphs and such. The problem I see is that it looks like you want people to be able to drag around elements on their browser (you said "online" application, right?), and a server-side only solution will not provide that. You could try a combination of Perl on the server and PerlScript or JavaScript on the client. Otherwise, the manipulation will be relatively static, perhaps allowing positioning via imagemaps. Something else you might consider as a front-end would be Flash.

Sincerely,

Tom Anderson
Order amid Chaos, Inc.
 
Yes, that is what I wanted and what is the source of my confusion, how to let the user drag the objects. I have considered flash, or a Java Applet for this. Or, I may just not let the user drag.
 
I recommend flash as well for the user interface. Its much simpler to develop and many of the things you want already exist out there if you google a bit.
 
Great, that's where I'll go. I'll need to learn some Flash Script, but what's wrong with learning new skills :)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top