I'm looking for general advice on how to tackle the imagemap task.

The functional requirement for a Palm app I'm working on involves
imagemapping over photographic images.  For instance, the Palm could show a
full-color bitmap of a room, and I'd want to make an imagemap that would
know when you tapped on any piece of furnature in the picture.  Random
objects in a photograph are very non-rectangular shapes, too, and that adds
complexity.

I'll have all of the images at compile time and I'm brainstorming ways to do
this.  I'm thinking of storing polygons in a Palm database, and if a user
taps inside a polygon, the program would know what object in the picture the
tap belonged to.  I'd like to make sure this is not
wasteful of the Palm device's resources.  I'm sure some methods for
imagemapping lend themselves to more efficient algorithms.  Another
consideration is
how easy it would be for me to populate the database of polygons or
whatever.  There could end up being a lot of rather complicated shapes to
imagemap.

Any ideas for implementing imagemaps of this sort would be very helpful.

Thanks,
Stan

[EMAIL PROTECTED]



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to