Hello,
maybe i misunderstand but  i think that an option may be
drawing the image scaled in a canvas and then using getDataUrl() to get
back data to upload.

Cheers,
   A.


On Thu, Jan 14, 2016 at 2:25 PM Julio Heitor Nobrega <
juliohnobr...@gmail.com> wrote:

> Hi guys,
>
> i am trying to upload images with 2mb size but i don't want to send the
> whole original image to the server.
>
> What i would like to do is reduce the image dimensions from, for example,
> *1000x1000* to *50x50* and reduce the file size
> from *2mb* to *~25kb* as well and at the end send the *~25kb* image to
> the server.
>
> I know there is the Scalr framework that does that in java, but its no
> compatible with GWT clients.
>
> Is there any client side GWT library that does the same thing as Scalr?
>
> Best Regards!
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to