ImageBundle reasonable limits

0 views
Skip to first unread message

CFS

unread,
Aug 2, 2007, 5:03:55 AM8/2/07
to Google Web Toolkit
Hi,

Is there a reasonable limit for ImageBundle size (or its images size)?

I have approximately 200 images around 33 kb each. They never change.
This is for a very small application, with no need for server
interaction.

If I could just have the generated js files and one large bundle, it
would be perfect.

Can I expect this work well, or ImageBundle is more for small icons
and such?

sanny...@gmail.com

unread,
Aug 2, 2007, 5:20:18 AM8/2/07
to Google Web Toolkit

Recently, I created an ImageBundle with vertical and horizontal border
images mixed together, and corners and stuff..
I made borders long vertical and horizontal ones, because it's
impossible to do background-repeat with ImageBundles, so I
just clip them to needed size.
It resulted large PNG, with lots of empty space.

While other browsers handled it ok (35MB RAM), IE (6,7) ate 400MB of
RAM, and I spent few hours tracing the script to figure out the
reason. After I grouped separately vertical and horizontal borders, IE
went back to normal 40MB.

So the rule is: better group images together as they appear on screen.
Don't put all images in one bundle, or IE will suck big time (it does
it anyway here and there, though)

This (IE) is only limitation I know.

Reply all
Reply to author
Forward
0 new messages