Re: How can I truncate an image before upload

2010-11-19 Thread Ice13ill
Well, i haven't found a library yet... If someone knows one, please let me know. On Nov 19, 4:44 pm, ep wrote: > 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 -

Re: How can I truncate an image before upload

2010-11-19 Thread ep
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 wrote: > Well, I was thinking about creating a temp copy

Re: How can I truncate an image before upload

2010-11-19 Thread Ice13ill
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 wrote: > Hi, > > GWT translate Java to Javascript to run on the client

Re: How can I truncate an image before upload

2010-11-19 Thread Didier Durand
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

How can I truncate an image before upload

2010-11-19 Thread Ice13ill
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 th