Skip to content

Asset Compression

Images

There are 2 methods I’m using for compressing my images:

XnConvert

XnConvert lets you allow batch image compression. Once you install XnConvert, the steps are really simple.

1) Add Files

Open xnConvert > Add Files or you can also drag and drop files

Alt text

2) Adjust Compression Settings

Adjust the settings of your compression in ‘Actions’ tab. I usually set the width & height by percentage. I usually go with range from 40-60%.

Alt text

3) Adjust Output Settings

Go to Output > Choose folder where you want to save > For batch converison you can rename the file by ending ’##’ in the file name, that way it will automatically index numbering the file for you.

Alt text

4) Convert

Next, go to ‘Status’ and start the process. Now wait for the result!

Alt text

Using MacOS Image Preview application

My mac came with a pre-installed image preview software that can also do image compression. This is actually more ideal for individual compression. However, you can also do batch compression here, and the steps are really easy as well:

  1. Select images > ‘More’

    Alt text

  2. ‘Convert Image’

    Alt text

  3. Choose compression type (Format and Size)

    Alt text

The main downfall from this is that you can’t really customize the resolution/size. But since the steps aren’t that long, I found it soo handy to use during crunchtime.

Videos

Handbrake

Handbrake is an open-source video transcoder. To compress your video, just follow this steps:

  1. Once you got your Handbrake installed, open it, and you will be directed to this window. Click ‘Open Source’.

    w2-handbrake-1

  2. Select the video that you want to compress > ‘Open

    w2-handbrake-2

  3. Once your video’s loaded (like below), click on the ‘Video’ tab setting

    w2-handbrake-3

  4. On the Quality option, bring down the RF (rate factor) value to 35 by sliding the ruler. The value that I found is good enough to maintain the quality while bringing down the size significantly is 35., but feel free to explore and adjust how you’d you see fit.

    w2-handbrake-4

  5. Next, you can go ahead start the compression. Don’t forget to rename or choose the save location in the bottom part of the window.

    w2-handbrake-5

  6. The software then will start compressing your video. You can monitor it’s progress in the bottom part of the window. When it’s done, it will save the compressed result directly to your chosen folder.

    w2-handbrake-6

That’s it! Easy-peasy lemon-squeezy!