GIMP tricks: Liquid rescaling by example

[ Monday, 29 October 2007, Bastion ]

Have you ever taken a picture which would be just great only if you could remove that strange unwanted object that showed up in the middle of nowhere and now kills the whole effect? Or perhaps you just want to get rid of your ex-girlfriend and keep the photo with a fantastic landscape alone? Whatever your secret plans are, GIMP Liquid rescale plugin is there for you. Just use it!

Author: Korneliusz Jarzebski

Recently there has appeared a short movie presenting abilities of Seam Carving program. In the movie you can see an absolutely new rescaling process of digital images. Shortly it can be described as cutting-out and adding less significant lines. This method of rescaling was developed by two Israeli scientists: Shai Avidan and Ariel Shamir, who called it the Content Aware Image Resizing.

Similar method is used in the Internet to format web sites, where the webmaster with help of special tags can divide the site to blocks and set the appropriate size of each one to make it work with the text-wrapping. So far such process was unavailable for images and solution that does it, often loses details which can be important.

One day I’ve come across the plugin that adds this rescaling method to GIMP. The effects are quite surprising.

liquid_dialog

Standard usage

Liquid Scaler perfectly suits as a tool for rescaling only one dimension, eg. width. The algorithm of the process tries to isolate and preserve the aspect ratio of distinguishing parts of the image. Shortly spoken it processes only this parts that are not so important. Let’s try it on the image representing two men walking on the beach.

liquid_ex1_orginal

Liquid Scaler perfectly suits as a tool for rescaling only one dimension, eg. width. The algorithm of the process tries to isolate and preserve the aspect ratio of distinguishing parts of the image. Shortly spoken it processes only this parts that are not so important. Let’s try it on the image representing two men walking on the beach.

liquid_ex1_bicubic
Standard Bicubic Scaler

liquid_ex1_width
Liquid Scaler

Isn’t it surprising? Let’s try on the another image.

liquid_ex3_orginal

liquid_ex3_cubic
Standard Bicubic Scaler

liquid_ex3_liquid
Liquid Scaler

What if Liquid fails?

Sometimes happens that the rescaling process will fail and the result won’t suit your expectations because the proportions hasn’t been preserved sufficiently.

liquid_ex4_orginal

liquid_ex4_cubic
Standard Bicubic Scaler

liquid_ex5_liquid
Liquid Scaler

Looking carefully at the picture you can see that those people’s proportions hasn’t been perfectly preserved. In this case you can use the quick mask which serves as the protection on the marked region.

liquid_ex4_mask
Applying mask layer

liquid_ex5_liquid_final
Much better result with Liquid Scaler

Protective layer? Let’s try to invert it!

The imposed protective layer can be used to remove some parts of the image.

liquid_ex2_orginal

liquid_ex2_delete
Where are the kids?

Harry the Little - for fun

Preserving only a little part of the main view of the image and processing one dimension with Liquid Scaler can create funny effects.

liquid_ex6_orginal

liquid_ex6_fun
After applying liquid scaling with masks and changing one of the dimensions

We strongly encourage you to try the plugin yourself and share the effects you get! In order to try it, download it from the official website on wikidot.com: Liquid Rescale GIMP plugin.

This article is a direct translation of text published on author’s blog: Gimp - Liquid rescaling

Translated by titter, proof-read by Jake Conroy

Subscribe to RSS feed for this article!

4 Comments

fold this thread Osku  Monday, 29 October 2007 o godz. 10:53 am #  Add karma Subtract karma  +0

Dzienkuje bardzo for this article.
That’s pretty impressive. Where can we find this plugin ? is it by default on the new gimp 2.4 ?

 
fold this thread Osku  Monday, 29 October 2007 o godz. 11:30 am #  Add karma Subtract karma  +0
 
fold this thread Maarten Kooiker  Monday, 29 October 2007 o godz. 11:18 pm #  Add karma Subtract karma  +0

Ahh….how many more secrets are programs like Gimp hiding for me?
Great article!
Cheers,
Maarten

 
fold this thread James Evans  Tuesday, 30 October 2007 o godz. 6:15 am #  Add karma Subtract karma  +0

Very impressive effects. I think I’ll have a lot of fun playing around with this. I might even get some work done ;-)

 
Name (required)
E-mail (required - never shown publicly)
URI

Adjust field size: shrink | enlarge)

You can use simple HTML in your comments. Some examples are as follows:
  • A hyperlink: <a href="polishlinux.org">GNU/Linux for everyone!</a>,
  • Strong text: <strong>Strong text</strong>,
  • Italic text: <em>italic text</em>,
  • Strike: <strike>strike</strike>,
  • Code: <code>printf("hello world");</code>,
  • Block quote: <blockquote>Block quote</blockquote>

About the Author

Korneliusz Jarzębski

Free software enthusiast, KDE fan. Author of a popular blog: /dev/jarzebski (in Polish). Contributes to PolishLinux.org since October 2007.

Advertise on PolishLinux!

Partners

RSS: Comments

You can follow the comments to this article through a special channel RSS 2.0 .

Related articles: Graphics

 more »

PolishLinux Top Content

Select distros:

vs

Google Ads