Closed Thread
Gif-image filesize too big
Old 08-08-2009, 01:01 PM Gif-image filesize too big
Junior Talker

Posts: 3
Trades: 0
Hi folks,

I just created a gif-image of size 3x5 pixels. It's a flag and only has 3 colors. Colors are indexed and at saving the dialog states that there are only three colors in the image. But after saving the picture I end up wit a file of 48kB!!! I can't believe this is normal. Looking at the image I'd say 3x5 pixels equals 15 assuming three bytes per pixel (which should not be the case when using an indexed palette) this makes 45 bytes. Whatever overhead there is in gif format i can't believe a picture of maximum 45 bytes results in a file of 48kB. Does anyone have an idea what I might have missed here?

Thanks
Goldeneyes is offline
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 08-08-2009, 02:30 PM Re: Gif-image filesize too big
Junior Talker

Posts: 3
Trades: 0
Hmmm...

The original file was created on Mac OS X Leopard, I copied it over to a Windows machine and just opened and saved it again there and now I'm having a filesize of 808 bytes. I have no clue why Photoshop CS4 would create files that much bigger than nesessary. But copying files to my Windows machine and saving them there again can't be a solution for every gif I create.

Are there some configurations in Photoshop that I may have missed?
Goldeneyes is offline
View Public Profile
 
Old 08-08-2009, 03:14 PM Re: Gif-image filesize too big
serandfae's Avatar
WHO'S YO' DADDY?!?

Posts: 7,233
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Have you tried Photoshop's Save for Web function? You have more control over the file size/image quality that way.

tim
__________________
Springs hop eternal in the hearts of the eccentric....
E-GADS! (Evil Genius' Art and Design Studio) Mwah hah hah haah!!!
serandfae is offline
View Public Profile Visit serandfae's homepage!
 
Old 08-08-2009, 03:19 PM Re: Gif-image filesize too big
LadynRed's Avatar
Super Moderator

Posts: 8,821
Location: Tennessee
Trades: 0
Ok, I have to ask, why would you stress out over a file size of a mere 45kb in the first place ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
View Public Profile
 
Old 08-08-2009, 05:23 PM Re: Gif-image filesize too big
Junior Talker

Posts: 3
Trades: 0
Thanks serandfae that works fine. I'm gettin a filesize of 52 bytes now.

@LadynRed
Well, the most important point on why I "stress out over a file size of a mere 45kb" is that I have a webspace with limited traffic and I don't have enough money to throw around to get something more expensive. Using simple mathematics yields that 48kB is about 1000 times more than 52 bytes. So storing the file with 52 bytes would allow 1000 visitors of my webpage to download it causing the same amount of traffic as one visitor when saving it with a filesize of 48kB. By the way for a simple tiny flag in the corner of the webpage to change languages to take 48kB means that about twenty visitors would already create a traffic of 1MB. Only for the one flag, not taking into account other images, the site itself, css documents, java scripts and so on...
Goldeneyes is offline
View Public Profile
 
Old 08-08-2009, 08:08 PM Re: Gif-image filesize too big
LadynRed's Avatar
Super Moderator

Posts: 8,821
Location: Tennessee
Trades: 0
Ok.. makes sense. I was just curious. The 45KB vs 52 bytes is rather strange, I never noticed, but then, I'm not that constrained with bandwidth.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
View Public Profile
 
Closed Thread     « Reply to Gif-image filesize too big
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.12093 seconds with 13 queries