GWT and "Image Editor"

211 views
Skip to first unread message

Artem

unread,
Apr 1, 2010, 1:57:13 PM4/1/10
to Google Web Toolkit
Hi!

In my project I need specific GWT widget. Basically main request for
it - to allow place some text on top of Image and then safe a result.

It should work for company that produce business cards. User can go to
a web site, select any card template (basically just background Image)
and then be able to place some text on any place on top of Image and
somehow result should be saved to allow manager later to check it and
send to printing...

Does anybody could give me some advise on that? Any ideas how this
could be done in GWT? Maybe some nice framework that will make my job
easy?

Thanks!!!!

rjcarr

unread,
Apr 3, 2010, 2:33:31 AM4/3/10
to Google Web Toolkit
You'll want to look into using the AbsolutePanel, as it allows you to
place widgets in arbitrary pixel space.

You might be better served using the Canvas element in this case. I'm
pretty sure there is a GWT Canvas library that will even work in IE.

Good luck!

Lukas Laag

unread,
Apr 3, 2010, 6:36:29 PM4/3/10
to Google Web Toolkit
If I were you I would definitely consider SVG for this project. You
can easily create your templates with an SVG editor (like http://www.inkscape.org/).
You can manipulate the SVG from GWT with an open-source libary I am
developing (http://www.vectomatic.org/lib-gwt-svg). SVG is XML so you
have your persistency format. Plus SVG should be easy to print or
convert to other print formats since it is XML (see for instance
http://www.fileformat.info/convert/image/svg2pdf.htm).
The only drawback of this approach is that SVG does not work in IE yet
(planned for IE9 though).
Reply all
Reply to author
Forward
0 new messages