Blurred and Tinted Square Regions (RMagick)

No programmer can be an entry week at home without typing something. The ruby script squarefy I’m introducing in this post is the result of this afternoon, the 8th day of my Christmas holidays.

  • The repository of the project can he found at github (link).

The idea behind the script is to pixelize a picture but by drawing squares on it. This squares add Gaussian-blur effect on the original picture and also tint effect. So given the following picture:

The squarefy script will add a layer of colored and blurred squares on it with the aim to add a pixelized effect to the picture:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: