Friday, November 19, 2010

Re: How can I truncate an image before upload

Well, i haven't found a library yet... If someone knows one, please
let me know.

On Nov 19, 4:44 pm, ep <eplisc...@googlemail.com> 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 - and transform it on the
> server
>
> On 19 Nov., 15:35, Ice13ill <andrei.fifi...@gmail.com> 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 <durand.did...@gmail.com> 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 <andrei.fifi...@gmail.com> 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 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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate