Quantcast

Forums | MacLife

You are not logged in.

#1 2005-12-17 4:36 pm

hockey2891
Member
From: San Francisco
Registered: 2005-01-12
Posts: 126
Website

Image sizes...

I have a quick simple question, which isnt really important, I just needs some quick help.

I have my own site and it is mostly image based. The load time for the images isnt bad, but on slower internet connections, the site takes forever to load. I also have many JS mouseovers, and the images, which arent big at all, take several seconds to 1/2 minute to change to the mouseover image. I dont want to change the code, I was just wondering if I change the type of image, currently .jpg, to anything else, maybe sacrificing the quality a little, if it would work anyt better/faster. confused

Thanks in advanced for any help...

I am using Photoshop 7.0, and currently saving them as jpegs at 6-10 Quality out of 12.


-hockey2891


-

Offline

 

#2 2005-12-17 4:47 pm

Macskeeball
Member
Registered: 2002-02-07
Posts: 8014
Website

Re: Image sizes...

JPEG is for photographs and full color artwork. GIF is for simple graphics (with or without simple transparency) and/or animation. 24-bit PNGs are for alpha transparency. Use File > "Save for Web."

Last edited by Macskeeball (2005-12-17 5:10 pm)


tech writer for hire

Offline

 

#3 2005-12-17 4:50 pm

hockey2891
Member
From: San Francisco
Registered: 2005-01-12
Posts: 126
Website

Re: Image sizes...

thank you for the help. is there maybe a website that compares the image quality/loading time or somehting anything like that?


-

Offline

 

#4 2005-12-17 4:52 pm

reh
shroom goon
Registered: 2002-04-19
Posts: 2311
Website

Re: Image sizes...

Just try messing with the settings under the "save for web" function in Photoshop that macskeeball mentioned. Try various qualities of JPEG, GIF, and PNG. Then you can judge the quality of your own graphics for yourself (and look at the filesize).

Offline

 

#5 2005-12-17 4:58 pm

Macskeeball
Member
Registered: 2002-02-07
Posts: 8014
Website

Re: Image sizes...

On an unrelated note, do not use lossy formats such as JPEG for editing. Use PSDs or TIFFs (uncompressed) at the highest quality you can get, then downsample for the final product when you've finished and keep the high qualities copies around somewhere (layers and all) in case you need them for something in the future.


tech writer for hire

Offline

 

#6 2005-12-17 5:04 pm

hockey2891
Member
From: San Francisco
Registered: 2005-01-12
Posts: 126
Website

Re: Image sizes...

I do have all of the images saved on my HD as the lower quality, and uncompressed. I tried using .gif, it is a lot quicker.

One more question- does anyone know the resolution a favicon.ico file should be? (its the little icon in the Address bar) Is it 16x16px?

Thanks
-hockey2891


-

Offline

 

#7 2005-12-17 5:08 pm

Macskeeball
Member
Registered: 2002-02-07
Posts: 8014
Website

Re: Image sizes...

We have a whole forum here on the MAF called Web Design & Development. Check it out, and read the FAQ sticky thread at the top.


tech writer for hire

Offline

 

#8 2005-12-17 5:27 pm

Miles
Now I fight for wisdom!
Administrator
From: Michigan
Registered: 2001-07-21
Posts: 4506
Website

Re: Image sizes...

Favicons also can contain multiple sizes of icon.  Only the 16x16 will ever be shown in the address/title bar, but some browsers will display a 32x32 or 48x48 icon elsewhere.

Offline

 

#9 2005-12-17 6:18 pm

Pariah
James Carville Fan..
From: Belly Of The Beast, Oklahoma!
Registered: 2001-05-24
Posts: 19139

Re: Image sizes...

What are the pixel dimensions of your images?
Generally speaking an 800x600 jpeg looks decent enough on the web at 50% to 60% quality setting and ought to be between 35k and 50k.


But now the sun beats down on the asphalt land
Like a hammer invoked from God's left hand
What little still grows cringes in the shadows till the night fall...

Offline

 

#10 2005-12-17 6:56 pm

Egress
Connoisseur of Eyebrows
From: Rockville, Maryland, USA
Registered: 2000-02-05
Posts: 5049

Re: Image sizes...

Pariah wrote:

What are the pixel dimensions of your images?
Generally speaking an 800x600 jpeg looks decent enough on the web at 50% to 60% quality setting and ought to be between 35k and 50k.

Damn, dude-- just give it all away... Aren't these supposed to be hard-won lessons?

It's bad enough that some programs will automatically set the compression according to the file size...

You're making it sound like Macs are easier to use. Cut it out, or everyone will want a Mac.


Hey!!! Was that Pithy? Got a twenty?

Offline

 

#11 2005-12-17 9:16 pm

Pariah
James Carville Fan..
From: Belly Of The Beast, Oklahoma!
Registered: 2001-05-24
Posts: 19139

Re: Image sizes...

Egress wrote:

Pariah wrote:

What are the pixel dimensions of your images?
Generally speaking an 800x600 jpeg looks decent enough on the web at 50% to 60% quality setting and ought to be between 35k and 50k.

Damn, dude-- just give it all away... Aren't these supposed to be hard-won lessons?

It's bad enough that some programs will automatically set the compression according to the file size...

You're making it sound like Macs are easier to use. Cut it out, or everyone will want a Mac.

Bah, I will not be rebuffed by a cat person   tongue


But now the sun beats down on the asphalt land
Like a hammer invoked from God's left hand
What little still grows cringes in the shadows till the night fall...

Offline

 

#12 2005-12-18 4:25 am

registered_user
bulletproof
From: padding: zero-pixels;
Registered: 2000-12-19
Posts: 16026
Website

Re: Image sizes...

bigger images take longer to download

-roo

Offline

 

#13 2005-12-18 2:32 pm

Light Speed
Doubter of Einstein
Registered: 2002-08-17
Posts: 3694

Re: Image sizes...

registered_user wrote:

bigger images take longer to download

-roo

Bigger images do not always have a higher file size smile

Offline

 

#14 2005-12-18 3:46 pm

registered_user
bulletproof
From: padding: zero-pixels;
Registered: 2000-12-19
Posts: 16026
Website

Re: Image sizes...

That depends on your definition of "do."

Offline

 

#15 2005-12-18 4:06 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: Image sizes...

Fireworks is better.  (just in general, but specifically for web images)  Better quality/compression.

PNGs are great for non-photo images, and can be much smaller than gifs.  Gifs are the suck.  Also selective area compression for jpegs can generate excellent size/quality images.  (though I am not sure if photoshop can do that)


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#16 2005-12-18 4:39 pm

Miles
Now I fight for wisdom!
Administrator
From: Michigan
Registered: 2001-07-21
Posts: 4506
Website

Re: Image sizes...

Scott wrote:

PNGs are great for non-photo images, and can be much smaller than gifs.  Gifs are the suck.

Well it really comes down to personal preference:
PNG: unencumbered by patents
GIF: unencumbered by awesome

I often find that GIFs have smaller file sizes than the equivalent PNGs, but that could just be crappy PNG compression at work.

Scott wrote:

Also selective area compression for jpegs can generate excellent size/quality images.  (though I am not sure if photoshop can do that)

Photoshop 6 can't. shrug

Offline

 

#17 2005-12-18 5:39 pm

reefdog
Manly man
Registered: 2000-05-15
Posts: 10701

Re: Image sizes...

A tip for PNG users: make 'em even smaller with PNGCrusher. Might just be because of Photoshop's "inefficient" exporter, but I can often trim 10-20% off "Saved For Web" PNGs using the crusher.

(Before anyone gets pedantic, I know it's just the front end for OptiPNG.)

Offline

 

#18 2005-12-18 5:43 pm

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9942
Website

Re: Image sizes...

Miles wrote:

Scott wrote:

Also selective area compression for jpegs can generate excellent size/quality images.  (though I am not sure if photoshop can do that)

Photoshop 6 can't. shrug

Imageready is your friend in that case, but I think it was PS7 with IR and newer that have that ability.

Offline

 

#19 2005-12-18 5:50 pm

Light Speed
Doubter of Einstein
Registered: 2002-08-17
Posts: 3694

Re: Image sizes...

Are png's fully supported yet on all major browsers.

Last I remember Explorer choked on 24bit pngs.

Offline

 

#20 2005-12-18 5:51 pm

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9942
Website

Re: Image sizes...

reefdog wrote:

A tip for PNG users: make 'em even smaller with PNGCrusher. Might just be because of Photoshop's "inefficient" exporter, but I can often trim 10-20% off "Saved For Web" PNGs using the crusher.

(Before anyone gets pedantic, I know it's just the front end for OptiPNG.)

Hm, that took 8kb off a 58kb 24bit PNG file.
On my 8bit, 128 color, PNG file it did nothing.

Offline

 

#21 2005-12-18 5:58 pm

reefdog
Manly man
Registered: 2000-05-15
Posts: 10701

Re: Image sizes...

RTFM, noob. wink It only helps when the file hasn't been fully compressed. Sometimes they already are. Running it through to check never hurts.

And light speed, IE just doesn't do alpha transparencies. 24bit is fine, but your translucency will be screwed unless you use Sleight (see the FAQ), which uses hands the transparencies off to some IE extension. It's crappy.

Offline

 

#22 2005-12-18 6:46 pm

Light Speed
Doubter of Einstein
Registered: 2002-08-17
Posts: 3694

Re: Image sizes...

reefdog wrote:

RTFM, noob. wink It only helps when the file hasn't been fully compressed. Sometimes they already are. Running it through to check never hurts.

And light speed, IE just doesn't do alpha transparencies. 24bit is fine, but your translucency will be screwed unless you use Sleight (see the FAQ), which uses hands the transparencies off to some IE extension. It's crappy.

Thanks for the info.

Isn't transparency the whole point of 24bit?

IE_Sucks™

Last edited by Light Speed (2005-12-18 6:47 pm)

Offline

 

#23 2005-12-18 7:32 pm

Scott
Zombie Gorilla
From: Oregon
Registered: 2002-12-07
Posts: 3446
Website

Re: Image sizes...

All browsers support 24bit pngs.

WinIE doesn't support the alpha channel (often called a 32bit png).  Though it will support a 1 bit alpha channel.  You can easily make transparent pngs work on WinIE through the IE specific attribute (easy if you have your view abstracted with smarty, rails or some other templating tool) or careful planning and the 1 bit channel.   IE7 does support it natively.

Sleight is ass.

If you have a good image handling tool (fireworks), your pngs will almost always be smaller than gifs, and depending on the type of image (gradients for example) pngs flat out kick ass.  Nothing can touch them.   And as Miles mentioned, they are standard and open source.  They are also highly extensible and flexible.


http://www.greatgamesexperiment.com/images/logo_kit/468x60-Blue.gif

Offline

 

#24 2005-12-18 8:35 pm

hockey2891
Member
From: San Francisco
Registered: 2005-01-12
Posts: 126
Website

Re: Image sizes...

ok, thnx everyone for all of the help. My website loads a lot fatster on IE on Windows (never really had much of a problem loading on my pb g4). The mouseovers are reduced down to less than a second, without compromising for quality. JPG images that were 30kb are now <8kb as PNGs, using PNG Crusher (and Automater to change 30 images from JPG to PNG)

Is there any other software that works as easily and better than PNGCrusher? After google-ing it,  I couldn't find much, but all of you guys might now.

Thanks
-hockey2891


-

Offline

 

#25 2005-12-18 9:35 pm

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9942
Website

Re: Image sizes...

reefdog wrote:

RTFM, noob. wink It only helps when the file hasn't been fully compressed. Sometimes they already are. Running it through to check never hurts.

What manual?

But, yeah, the creator makes no distinction between 8 bit and 24 bit png files. By reading about the OptiPNG base that it uses and by running a few tests I'd only really bother with that program if you're working with 24 bit png files since most of what it likes to do seems based on the color table and the compression of that color table.  Since 8 bit PNG files already have an optimized color table then this program doesn't seem to be helpful on it.

It just helps to know what you're dealing with, that's all...

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson