Friday, October 29, 2010

@ImageOptions doesn't resize lossy jpgs?

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