Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any software to specify desired file size for the jpeg image, so it can pad bytes, in order to achieve desired size. So the original file size is smaller, I want to have exact size file, which is always bigger than the original.


share|improve this question
Why would you want that? Also, does it have to be a jpeg? Can it be another image format? – Mateen Ulhaq Jan 14 '11 at 19:53
it has to be jpeg and it requires for the tests on mobile phones. – Pablo Jan 14 '11 at 20:02

How big do you want the file to be? You can add Exif metadata to the file with apps for that purpose, such as this one.

However, Exif metadata is restricted in size to 64 kB in JPEG images, so this method won't work unless the original image is more than 64 kB smaller than the desired size.

share|improve this answer
up to 2-5Mb. And since the original file resolution is small I can't make it very big, then decrease the size by compression. – Pablo Jan 14 '11 at 20:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .