Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > 116 KB too much for a background image?

116 KB too much for a background image?
Thread Tools
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Nov 8, 2002, 10:37 AM
 
Wouldn't that slow down a site? just for something like this.....

     
Fresh-Faced Recruit
Join Date: Nov 2002
Status: Offline
Reply With Quote
Nov 8, 2002, 10:51 AM
 
the graphic you've posted could tile easily so why not do that.
     
skalie  (op)
Mac Elite
Join Date: Mar 2002
Location: Clogland
Status: Offline
Reply With Quote
Nov 8, 2002, 11:06 AM
 
Pardon my bad, I dragged and dropped that background image (borrowed from this site) and it showed up as 116 KB using SNAX (alternative to Finder).

I have since opened up the image in Photoshop, and it is indeed only 7 KB.

What's going on I'm not sure, but I guess that will teach me for being a smartass.

* goes off to the corner with a dunces hat on *
(Last edited by skalie; Nov 8, 2002 at 11:17 AM. )
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Santa Fe
Status: Offline
Reply With Quote
Nov 8, 2002, 11:17 AM
 
Only with a resource fork. On your Web server it should look more like 152 bytes. I didn't check, but presumably you already reduced the color palette as much as possible. You could get away with a smaller version of the image too (you really only need one horizontal line and enough whitespace so it tiles as stripes).
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Nov 8, 2002, 01:00 PM
 
Originally posted by hyperizer:
Only with a resource fork. On your Web server it should look more like 152 bytes. I didn't check, but presumably you already reduced the color palette as much as possible. You could get away with a smaller version of the image too (you really only need one horizontal line and enough whitespace so it tiles as stripes).
Take care, however, that you don't make the image too small. Images, especially tiled ones, take time to draw. If you make the image too small, it will slow down your site's rendering dramatically, and this can be a massive pain for users with slower machines, because the slow rendering will affect such niceties as scrolling even after the download is finished.

64x64 is generally a good size to use, though 128x128 is even better if the image crunches down nice and tight. That strikes a good balance between download and render speed.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Santa Fe
Status: Offline
Reply With Quote
Nov 8, 2002, 03:02 PM
 
Good point Millennium. I hardly ever use tiled images, so I haven't done much testing in that regard.
(Last edited by hyperizer; Nov 8, 2002 at 05:11 PM. )
     
Grizzled Veteran
Join Date: Sep 2000
Location: The Basement
Status: Offline
Reply With Quote
Nov 10, 2002, 08:21 AM
 
That's huge for a tiled image, if the lines are 2pixels thick each then you should only need a 4 pixel image 1x4 horz/vert.
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Nov 10, 2002, 09:26 AM
 
Originally posted by brainchild2b:
That's huge for a tiled image, if the lines are 2pixels thick each then you should only need a 4 pixel image 1x4 horz/vert.
see above comment, about how the browser draws the screen, brainiac

there's nothing wrong with using a 64x64, for that kind of background image. it will probably come in at under 5k anyway, if you do it right
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
Forum Regular
Join Date: Apr 2000
Location: Toronto
Status: Offline
Reply With Quote
Nov 14, 2002, 12:00 AM
 
Originally posted by Millennium:

Take care, however, that you don't make the image too small. Images, especially tiled ones, take time to draw. If you make the image too small, it will slow down your site's rendering dramatically, and this can be a massive pain for users with slower machines, because the slow rendering will affect such niceties as scrolling even after the download is finished.

64x64 is generally a good size to use, though 128x128 is even better if the image crunches down nice and tight. That strikes a good balance between download and render speed.
You have an excellent point. I never even considered anything like this. Previously, with an image like the one posted above, I would make it something like 4px width and 1px height. That is really good insight.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:18 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2