image file dimensions and size.

hello experts,

is it at all possible for a jpg/jpeg/gif file of dimensions 340px/220px to be bigger than 32bytes in size.
Where can I read up on this kind on information.
LVL 4
claracruzAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JoshPowellCommented:
Yes it it possible, if you save a JPG file at 100% quality (semi-lossless) then it will be very large in size. The exact size depends on the number of colors in the file, and other varibles.

Josh
0
claracruzAuthor Commented:
I see, thank you.
0
claracruzAuthor Commented:
could you possibly give more indepth information as per number of colors and other variables.

Cheers!!
0
JoshPowellCommented:
Some more info regarding different file formats and their good/bad traits,
http://www.scantips.com/basics09.html

Basically, the more colors there are, the larger the file will be - this holds true with any image format.. there is no exact ratio, as it depends on how big the image is, and how much each color is used, etc.

For JPGs, the file size depends greatly on the "Quality" - that is, the setting that determines the amount of loss, if can be any number between 0 and 100.

For GIFs, the file size depends solely on the amount of colors and/or dithering, the maximum colors a GIF can contain is 256, although you can, depending on your image editing program, force this number lower (not higher). Dithering is a way of 'blurring' the image if you will, so it uses fewer colors, and gives the appearance of a higher quality.

Josh
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JoshPowellCommented:
Oh, and be sure to check out that link, at the bottom of the page their are links to pages that go into very specific details for each major image format.

Josh
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Graphics Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.