Perhaps you want set some ImageOptions on the resource.  Check 
"preventInlining" and "RepeatStyle" 

On Wednesday, September 19, 2012 8:30:46 AM UTC-7, Chris Lercher wrote:
>
> According to 
> https://developers.google.com/web-toolkit/doc/latest/DevGuideUiImageBundles, 
> multiple images in the same ClientBundle should usually be merged to a 
> composite image, quote:
>
> Multiple ImageResources are declared in a single ClientBundle, which is a 
>> composition of many images into a single image
>
>
> And I remember, that I tried and confirmed this, when I first used it a 
> few years ago. But I don't see this happening anymore:
>
> - Either we get data URIs (for small images), 
> - or we get separate "*.cache.jpg" images for each ImageResource in the 
> ClientBundle (for large images, or if setting <set-property 
> name="ClientBundle.enableInlining" value="false"/>)
>
> Is this correct, or is it a bug? Can I maybe even rely on GWT not 
> producing composite images anymore [*]?
>
> [*] This would allow me to use "new Image(imageResource.getSafeUri())", 
> which would be useful in certain circumstances (e.g. when printing the 
> page), as it uses a foreground image instead of a background image.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/cuUhLhz0M6wJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to