Sunday, September 26, 2010

Re: Save clickable images

Hi, Daniela!

Actually /capturing/ a dynamic web page or its part as an image is not
an easy task. On server you can do this with tools like
http://www.paulhammond.org/webkit2png/ which actually reuse a library-
controlled version of a browser for this. Even then, the captured
image will be static and won't be able to handle clicks and show
dialog boxes.

What you can do is use a custom canvas rendering
(something like http://code.google.com/p/gwt-g2d/)
os SVG rendering
(something like http://gwt.org.ua/en/blog/2008/04/03/gwt-dojo-draw-demo/)
to render your image and the balls on top of it,

then you can export the resulting combination into SVG,
which theoretically should be smart enough to handle clicks and
display dialogues.
(cf. http://en.wikipedia.org/wiki/Scalable_Vector_Graphics)

or you can export the resulting combination into PDF,
which should be smart enough to handle clicks and display dialogues as
well.

I'm afraid neither of those tasks are simple
and would require lots and lots of research on your part.

On 24 сен, 23:40, daniela iervolino <daniela.ie...@gmail.com> wrote:
> Hi!
> I have a question for you..
> The matter is: I have an image that I've uploaded from my file system
> and it's shown in a page of my web app.
> Then I created a system to move some images (for example little balls)
> on the previous image (by drag and drop mechanism). So I want to store
> this resulting image on my file system as a unique image...
> Furthermore, this dragged and dropped little image are clickable (on
> click they show a dialog box), so I would like to keep this mechanism
> when I call my image..
> I hope it was clear.... :-)
>
> Thanks
> Bye!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment