Thanks, but that seems to be a dimension size limit, not a file size limit:
...
if (lossy || toReturn.getHeight() > IMAGE_MAX_SIZE
|| toReturn.getWidth() > IMAGE_MAX_SIZE) {
...
Is there a filesize limit too?
On 20 January 2013 18:05, Thomas Broyer wrote:
>
>
> On Sunday, January 20, 20
On Sunday, January 20, 2013 5:27:09 PM UTC+1, darkflame wrote:
>
> Thanks I already disabled inlining with :
>
>
> In my gwt.xml, which disables DataURLs, but still doesn't make everything
> image strips - some are image strips but many are still just separate PNGs
> images.
> I'll try your me
There is indeed a max size for image bundles. Take a look at:
http://code.google.com/p/google-web-toolkit/source/browse/releases/2.5/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java#471
You can configure it by setting the system property
gwt.imageResource.maxBundleSize to your desire
Thanks I already disabled inlining with :
In my gwt.xml, which disables DataURLs, but still doesn't make everything
image strips - some are image strips but many are still just separate PNGs
images.
I'll try your method as well, but I suspect that also just prevents the
DataURLs.
I *think* my
try to prevent any inlining or other optimizations using :
@Source("img0001.png")
@ImageOptions(preventInlining=true)
ImageResource img0001();
>From ImageResource.java :
/**
* Set to {@code true} to require the ImageResource to be downloaded as
a
* separate resource at runtime. Spe
I'm starting to think...unless I am doing something stupid...this is a
GWT error.
At the very least the behavior contradicts the documentation:
"The ClientBundle generator combines all of the images defined in your
interface into a single, optimized image."
This certainly doesn't seem to be the c
Still no luck.
If it helps diagnose I can supply sample images.
On Saturday, December 29, 2012 11:31:06 PM UTC+1, darkflame wrote:
>
> ...and thus are rather flickery when animating between them. (they are
> frames in a animated sprite).
>
> What baffles me is they are defined the same way as ot
...and thus are rather flickery when animating between them. (they are
frames in a animated sprite).
What baffles me is they are defined the same way as others that do
seem to work.
eg. I have a file like:
public interface MemDayImages extends ClientBundle {
...
@Source("/MemorableDayIcons/ME