I'm attempting to ascertain the maximum file size possible of a jpg to detect when someone has hidden additional data (viruses etc) within it.
Assuming that you have an image that is 640x480 with no metadata (no camera make, gps data etc), what is the maximum size that that file can be? Is there an formula for calculating this with other jpg dimensions?