before HTML5 its not possible in javascript to transform images, but you can ask google, if found library you can simply use it within GWT. Elsewise, just get your image uploaded - and transform it on the server
On 19 Nov., 15:35, Ice13ill <[email protected]> wrote: > Well, I was thinking about creating a temp copy of the image, scale it > and upload the new image. > But i don't want to use other technologies (Java applet or JavaFx). > Other gwt libraries are ok. > > On Nov 19, 4:16 pm, Didier Durand <[email protected]> wrote: > > > Hi, > > > GWT translate Java to Javascript to run on the client side. > > > This javascript is then in the usual sandbox preventing access to pc > > files: I would say that what you want to achieve is not possible > > because of this js architecture unless you go to very special tricks > > requiring additional component. > > Seehttp://www.baconbutty.com/blog-entry.php?id=29 > > > didier > > > On Nov 19, 3:07 pm, Ice13ill <[email protected]> wrote: > > > > Is it possible to resize an image (thus creating an image with a > > > smaller size) using GWT? > > > Let's say i have a 5Mb picture, but before i upload it to the server i > > > want to automatically resize it to be smaller that 1Mb > > > How can i do that ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
