Increase image size in kb without changing pixels using command prompt or bash

March 10, 2016

Most of the online application sites restrict the users to limit the photo or image size with certain specifications like color depth, resolution, file size etc. Compramising resolution will result in small image size which restrict applicants.users to upload unless an image file is of certain size.
For example you have a scanned photo of 400KB, 300dpi, you will have to upload 2cm x 3cm photo 72dpi with file size between 5kb to 100kb, some of the online tools will help you to resize the image but file size is again a matter of concern.

Here is a simple trick to increase the image file size. Open command prompt from start menu (windows).

Add some pseudo bits to you photo to increase the file size using the redirection

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Administrator>dir >> C:\Users\Administrator\Desktop\yourphoto.jpg

OR bash in Linux.

copyserver@copyserver:~$ dir >> '/home/copyserver/Desktop/yourphoto.jpg'


Do not spam.

Like us on Facebook

Blog Archive