Re: GWT Image editing
forgot the link sorry, http://www.html5canvastutorials.com/tutorials/html5-canvas-images/ On Wednesday, May 8, 2013 4:31:27 PM UTC-5, Kara Marie Rawson wrote: > > yep, use canvas it will work smoother, especially if you plan on allowing > the user to drag to position image "B" at some point. Honestly if you plan > on not using canvas, atleast use dynamic CSS to handle the image position > overlay and just stick the images in a simple LayoutContainer. I dont > believe AbPanel is resize friendly. > > kara > > On Tuesday, April 30, 2013 10:26:41 AM UTC-5, Thad wrote: >> >> In an earlier app, I put Image inside an AbsolutePanel then added >> MouseDownHandler and MouseUpHandler to the image. When I got one and the >> other at the same point, I drew an icon at that point (actually merging >> them into one image came later, on the server). >> >> You can also try the Canvas object. That's a neat widget. >> >> On Monday, April 29, 2013 10:57:46 AM UTC-4, Luis Costa wrote: >>> >>> Hi all, >>> >>> I’m using GWT 2.5.1, and I’m trying to create a component that allows >>> the application user to edit an image, the workflow is: >>> >>> 1. User can perform a mouse click on a certain part of the image >>> “A” (that was previously uploaded); >>> >>> 2. This event will put in the image clicked coordinates (X and Y) >>> another image “B”, the final image “C” (“A” + “B”) can then be saved. >>> >>> Can anyone give me some feedback about what will be the best approach to >>> do this? >>> >>> >>> >>> Many thanks, >>> >>> Luis. >>> >> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT Image editing
yep, use canvas it will work smoother, especially if you plan on allowing the user to drag to position image "B" at some point. Honestly if you plan on not using canvas, atleast use dynamic CSS to handle the image position overlay and just stick the images in a simple LayoutContainer. I dont believe AbPanel is resize friendly. kara On Tuesday, April 30, 2013 10:26:41 AM UTC-5, Thad wrote: > > In an earlier app, I put Image inside an AbsolutePanel then added > MouseDownHandler and MouseUpHandler to the image. When I got one and the > other at the same point, I drew an icon at that point (actually merging > them into one image came later, on the server). > > You can also try the Canvas object. That's a neat widget. > > On Monday, April 29, 2013 10:57:46 AM UTC-4, Luis Costa wrote: >> >> Hi all, >> >> I’m using GWT 2.5.1, and I’m trying to create a component that allows the >> application user to edit an image, the workflow is: >> >> 1. User can perform a mouse click on a certain part of the image >> “A” (that was previously uploaded); >> >> 2. This event will put in the image clicked coordinates (X and Y) >> another image “B”, the final image “C” (“A” + “B”) can then be saved. >> >> Can anyone give me some feedback about what will be the best approach to >> do this? >> >> >> >> Many thanks, >> >> Luis. >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT Image editing
In an earlier app, I put Image inside an AbsolutePanel then added MouseDownHandler and MouseUpHandler to the image. When I got one and the other at the same point, I drew an icon at that point (actually merging them into one image came later, on the server). You can also try the Canvas object. That's a neat widget. On Monday, April 29, 2013 10:57:46 AM UTC-4, Luis Costa wrote: > > Hi all, > > I’m using GWT 2.5.1, and I’m trying to create a component that allows the > application user to edit an image, the workflow is: > > 1. User can perform a mouse click on a certain part of the image > “A” (that was previously uploaded); > > 2. This event will put in the image clicked coordinates (X and Y) > another image “B”, the final image “C” (“A” + “B”) can then be saved. > > Can anyone give me some feedback about what will be the best approach to > do this? > > > > Many thanks, > > Luis. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
GWT Image editing
Hi all, I’m using GWT 2.5.1, and I’m trying to create a component that allows the application user to edit an image, the workflow is: 1. User can perform a mouse click on a certain part of the image “A” (that was previously uploaded); 2. This event will put in the image clicked coordinates (X and Y) another image “B”, the final image “C” (“A” + “B”) can then be saved. Can anyone give me some feedback about what will be the best approach to do this? Many thanks, Luis. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.