Showing posts with label Tips-Tricks. Show all posts
Showing posts with label Tips-Tricks. Show all posts

Thursday, March 9, 2017

JPG Image size reducer. How to reduce jpg to desired size without changing resolution on PC and Android?

When we click a photo it contains lot of colors which our eyes cannot differentiate. Higher colors means higher image size and with evolving camera chips images are getting bigger and bigger in size. There are many methods to reduce photo size. Lets look at some methods of reducing image size.

I recently backup my images on Google drive. The images were bigger in size and were in GBs in size which i reduced to ~700MB (deleted few repeated images). Among size reduction methods most of us reduce the image resolution i.e. number of pixels are reduced. For example Full HD images are reduced to qHD or 720p. But i didn't reduced the number of pixels but number of colors!

This is already a reduced image of size ~900KB. I captured this image in my garden in 2016 summer using my Nubia Z9 mini phone. Its already reduced in size to load faster on website.

Original: 942KB

 Half resolution: 711KB

Reduced Colors: 268KB

Looking at images its clear that reducing number of colors has greater size reduction than reducing resolution only. Do check the images by downloading them and zoom. Decide yourself which one is better!

Now coming to the tools used for size reduction. Without taking much time below are some tools to reduce size of jpg.

  • ImageMagick's convert tool. This s a commandline tool which can reduce jpg size to desired size. Example: convert -define jpeg:extent=500kb nubia_bks_camera.jpg out.jpg. This will reduce original image to ~500KB without changing resolution.
  • jpegoptim: this tool is same as imagemagick with desired jpg size.
  • IrfanView. This is a windows only GUI software which can reduce jpg files to desired size.

I have created my own Android app which can do above size reduction and is very easy to work with. Here is the link to my app Jpg Image Size Reducer: A quick usage example of this app is you share your selfie which is 2MB and want to reduce size quickly without editing the image. Share it with any image app and select jpg image size reducer and reduce to whatever % or KB and then share the copy to wherever you want!. It can also reduce many files in batch. Its also an image converter and can convert non-jpg files to jpg and reduce its size.

The software above reduce number of colors which reduces size of image even more than reducing size does. However Using both methods can give very small size images. Reducing total colors to few thousand or hundreds can be noticed easily by zooming. Another method to reduce image size is to change image mode to INDEXED from RGB. Indexed mode means all colors are collected at a place/table and index/position of a color from table is used. This can reduce size. However this is not always better.

Thursday, November 19, 2009

Convert your text files into images

Open your text files with IrfanView and save as image.

I always use IrfanView and GIMP for all my photo works. If you haven't tried them then please give one. ;-)

Thursday, October 23, 2008

I recovered my quickly erased CDRW.

Happened in 2006 August.
I had a CDRW which was the only source for my all projects as my hdd was crashed. I tried to find many software on net, found forensic sites but they were charging much money. Being a student, i wasn't able to produce that amount then i decided to search for software based recovery.

I found Isobuster, that wasn't capable of quick erased CDRW's data recovery. But i found a good software - Back2Life. I tried to recover the cd, using "force RW mode".
Hah! it recovered the table but wasn't recovering data as it was a demo version and limited to 64KB file recovery. It must have burned some part on the CDRW. I was disappointed b/c i had very less time, only few days to go. Then my mind lightened an idea and i again used Isobuster, hey! it recovered my data and i successfully saved my all projects. I know it could also help many of you.

That's why we say: Problem occurred for one person but gave solution to many.
Tip: Use back2life version > 2.3 and then use Isobuster.
Now TestDisk is my favorite data recovery program, it now offers optical media recovery.

Sunday, December 16, 2007

Rescue tip - copy locked files.

How to copy locked files in windows?
Disclaimer: This information is for rescue / educational purpose only! I can't be held responsible for any damage occurred due to it's use. BTW it has rescued many systems!
Recovery tools can be used to copy the locked files as they don't deal with the file handles, they have full access to the disk. I have successfully copied SAM from Windows which said to be an impossible task!