Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 16th, 2005, 5:43 AM   #1
Aphex_Twin
Newbie
 
Join Date: Mar 2005
Posts: 27
Rep Power: 0 Aphex_Twin is on a distinguished road
What can I use/learn?

I want to do the following thing for a website:

1. Present a user with tools with which to construct simple bitmap graphics (primitives for points, lines, circles, etc...) - in the form of buttons and mouse actions. All laid out in a page.
2. The possibility to save that into a gif or pgn.


I think Javascript would sound suitable for the first thing, but I don't quite know how to create an actual bitmap or how to save it on the server.


Right now I have some basic HTML skills, can work with PHP/MySQL and can generally figure out Java Script.


What I'm looking for is a kind of pointer, nudge in the right direction or some advice on how to do the above.


Edit: As a secondary question... Is there a way to detect if a text string (like: "http://something/somethingelse/something.extension") points to a picture (a gif/jpg/png) or to something else?
Aphex_Twin is offline   Reply With Quote
Old Sep 16th, 2005, 6:24 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Both questions indicate that you need to Google around for image formats and the like.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Sep 16th, 2005, 10:28 AM   #3
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
I beleive PHP has good image handling functions.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Sep 16th, 2005, 12:06 PM   #4
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
Quote:
Originally Posted by coldDeath
I beleive PHP has good image handling functions.
Yeah, but that is serverside.. he needs client side image handling. You could create a java applet, that would be the easiest.
Polyphemus_ is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:38 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC