Friday, October 29, 2010

Re: @ImageOptions doesn't resize lossy jpgs?

oops, forgot to say this is GWT 2.1 RC1

On Oct 29, 12:10 pm, Potate <sammyjiang...@gmail.com> wrote:
> This seems a bug to me. Can someone help me verify this?
>
> when using a jpg like
>         @Source("images/Status-Verified.jpg")
>         @ImageOptions(width=10)
>         public ImageResource OrderStatusVerified();
> the width parameter seems to have no effect.
>
> when using a png like
>         @Source("images/Status-Verified.png")
>         @ImageOptions(width=10)
>         public ImageResource OrderStatusVerified();
> the resulting image resource is properly resized
>
> the image itself is 24x30. The jpg version is lossy
>
> thanks

--
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.

No comments:

Post a Comment