Jpeg calculating max size
Posted
by Doodle
on Stack Overflow
See other posts from Stack Overflow
or by Doodle
Published on 2010-04-29T03:56:04Z
Indexed on
2010/04/29
4:07 UTC
Read the original article
Hit count: 580
I have to say the I don't know much about how file formats work. My question is say I have a jpeg file that is 200 px by 200 px, how can one calculate what the maximum size that file could be in terms of megabytes/bytes?
I think that the reasoning that led to the question will help some one answer me. I have a Java Applet the uploads Images that people draw with it to my server. I need to know what the max size that this file can conceivably reach. It is always going to be 200x200.
It sounds dumb but are there colors that take more byte size then others and if so what is the most expensive one?
© Stack Overflow or respective owner