Adding fog effect using gimp

Here is how we can add the fog effect to any image, using gimp.

Lunch gimp and click on

file->open

Browse to the photo that is to which the fog effect has to be added and click on open.

In the example we will use the following image to add the fog effect.

 photo DSC00302-1.jpg

Now click on

filter->render->cloud->fog

 photo 2_fog_select.jpg

This will launch a window as shown below.

 photo fog_menu.jpg

The options available are

Name: Layer Name Color: The color of the fog Turbulence: How much fog should be added to the image Opacity: How opaque should the fog be.

Click on OK and wait for gimp to do the magic.

After applying the fog, the above image looks as below.

 photo fogged_pic.jpg

Category: Linux | Comments Off on Adding fog effect using gimp

Exctrating pages from a pdf document using gimp

Here is how we can use gimp to extract pages from a pdf file. Let us say we have a file named “make.pdf” with around 200 pages in it. If we need to extract the pages 10,11 from it.

We can either use the command line tool “pdftk” as shown in the post ” ” or we can use gimp as shown below. The big difference between the two being pdftk will extract them as pdf files itself, but gimp will extract them as images.

Launch gimp and click on

File->open

Browse to the file to be opened and click on open

Once the file is open ,gimp should launch a window as shown below. The various options available are

range: We can specify the range of pages that we wish to extract. For example if we wish to extract pages from page numbered 20 to 30 we can specify as 20-30. If the pages that we wish to extract are not in a continuous range we specify different page numbers separated by commas for example 2,4,6.

Open page as : The selected pages can be opened in one gimp document as different layers by selecting open pages as layers or we can create a gimp document for every page by selecting open pages as images. When extracting pages from a pdf, opening them as images seems like a better options as we can save each page separately. If we open it as layers then the pages will overlap each other and only the top page will be visible.

Then we can specify the width and height of the extracted pages and what resolution we want the pages to be in.

After specifying the above options as required, click on import.

If we have selected open pages as images, gimp will launch one document of every page extracted from the file as shown below.

We can save each of the documents separately in the desired format by clicking on

file->save as

Note that the extracted pages will be images and we will be unable to copy any text from the files.

Category: Linux | Comments Off on Exctrating pages from a pdf document using gimp

Adding antique border to imges using gimp

Using gimp we can make a photo look antique by adding the border to it like the older photos used to have.

Launch gimp, and open the photo to which the antique border is to be added using

file->open

Now click on

filter->Decor->Antique photo border

It will launch a menu as below

From the menu we can select

Border Thickness : The thickness of the border we wish to add Edge Radius : The radius of the curve at the edges of the border Border Color: The color of the border

Click ok after entering the required values.

After gimp finishes its job, we should see the output as below.

The new image with the border can be saved in required format

File->Save As

Category: Linux | Comments Off on Adding antique border to imges using gimp

Transfrming a photo to an old looking photo

We can use gimp to make any photo look like as if it was taken many years ago, in the days of black and white cameras.

To turn any photo into an old photo, open gimp and open the photo in gimp using

file->open.

1_old_open photo 1_open.jpg

Let us take this as the example photo.

image photo 2_image.jpg

Now click on

filters->decor->old photo

3_old_photo photo 3_old_photo_menu.jpg

This will prompt a menu as below

4_old_menu photo 4_old_menu.jpg

The options are :

defocus: To reduce the focus of the image to make it appear slightly blurred as in older photos

sepia: To remove the colors of the photo make it appear almost balck and white.

Mottle: To add dotted effects on the photo.

work on copy: To make sure that the original image is not modified check this option so that gimp creates a new image modified as required.

After selecting the required options click on ok and wait for gimp to finish its work.

Soon gimp will launch a new window with the modified image as below. (The sepia option has been selected)

5_old_final photo old_sepia.jpg

Thus making a new color photo appear as if it were a many years old photo.

Category: Linux | Comments Off on Transfrming a photo to an old looking photo

Creating blend effect using gimp

Using gimp we can create animated gif image with a blending effect, that is one image blends into another as shown below.

 photo linux_is_freedom.gif

Here is how we can create the above animation in gimp.

First we need the images we need to use for the blend effect, in the above animation we have used the following three images created using gimp itself.

 photo linux.jpg

 photo is.jpg

 photo Freedom.jpg

They can be created using the logo creation tool available under file->create->logos and the above effect is glossy.

Once the images are ready, open gimp.

click on

file->new

choose a template size bigger than the biggest of the images to be used in animation and click on ok.

Drag and drop the images into gimp in the order in which the images have to appear in the animation.

For the above animation we will drop “linux.jpg” first, then “is.jpg” and then “”freedom.jpg”.

 photo layers.jpg

Now click on filter->animation->blend.

 photo blend_menu.jpg

The following menu will appear.

 photo blend_options.jpg

The number of intermediate frames decide how slow the transition from one image to another should happen. In the above animation we have chosen the number to be 20 to make the transition happen slowly.

The blur option is to choose how much should the image blur before appearing and disappearing, the above animation has 0 blur. Click on “ok” and wait for gimp to do the magic. Once done we should see a new window as follows.

 photo after_blend.jpg

To preview the animation click on filter->animation->playback

Click on the play button to see the animation. If the animation is satidfactory close the preview and save the animation by clicking on

file->save as

Enter the name and add the extension .gif example blend.gif

save_as photo save_as.jpg

A menu as below will be shown, click on save as animation and click on export

export_animation photo export_animation.jpg

In the next window we can choose the delay between individual frames, but in this case we can leave it as default and click on save and the animation should be ready.

final_save photo final_save.jpg

Category: Linux | Comments Off on Creating blend effect using gimp

Viewing thumbnails of xcf using linux.

When we create images using the gimp, the default format in which the images get saved are .xcf. eXperimental Computing Facility.

The .xcf files, though they have images, are not visible as thumbnails and are shown as below even in the thumbnail view.

xcf no thumbnail photo no_xcf.png

To be able to view the .xcf files in thumbnail view properly in gnome, we need to install the package

gnome-xcf-thumbnailer i.e run the command

sudo apt-get install gnome-xcf-thumbnailer

or search for the package in the the synaptic package manager and install te same.
Once the package gets installed, log out of the system and login. Now open the folder that has the xcf file and we should be able to view the thumbnail of the xcf file as shown below.

 photo xcf_thumb.png

Category: Linux | Comments Off on Viewing thumbnails of xcf using linux.

Taking Screenshot using gimp

We can use the gimp software to take screen shots just like any other. screen shot sfotware.To take a screen shot open gimp and click on

file->create->screenshot.

Screenshot_1 photo 1_screen_shot.jpg

A menu as shown below will pop up.

Screenshot_2 photo 2_screen_shot.jpg

The options available are: 1) Take screenshot of single window: This will allow us the take the screen shot of any of he open window by just clicking on it.
We can choose the ignore the decorations of the window that is the outer peripheral images of the widow by removing the tick mark from the option “Include window Decoration”.

2) The second option is used when we want to take the screen shot of the entire screen, that is every thing visible on the desktop.

3)The third option is when we want to choose a specific area of the desktop for the screen shot. On selecting this we will be allowed to choose the area of which we want to take the screen shot.

All the above three options can be coupled with a dealy. That is, in the delay field if we mention “5”, then gimp will start taking the action corresponding to your choice only after 5 seconds. For example if we choose “Take screenshot of entire screen and then say 5 as the delay, then after a dealy of 5 seconds which ever window will be open on the screen a screen shot of the same is create.

Once the screen shot has been taken, the same will displayed in the gimp. To save the screenshot click on

file->save as

we can save the image in any of gimp supported formats i.e. jpg,png,gif etc for later use by adding the corresponding extention to the name or by choosing the file type from the list at he bottom left of the save as window.

 photo 6_save_as.jpg

Thus if we have gimp we really don’t need any snap shot taking software at all.

Category: Linux | Comments Off on Taking Screenshot using gimp

Converting the sharp corners of an image to round corers using gimp in linux

The pictures taken using cameras are always rectangular in shape with sharp corners, so are most of the other images.

We can use gimp to change the images with rectangular corners to round corners. Here are steps to do the same.

Open gimp, and click on

file->open

 photo 1_file_open.jpg

Browse to the photo that needs to be transformed and click on open.

 photo 2_image.jpg

Now click on

filters->decor->Round Corners

 photo round_border.jpg

It will prompt a menu as shown below.

 photo round_border_menu.jpg

Edge Radius: Is the radius of the arc at the corners. The bigger the number the bigger the arc will be at the corner.
Add Drop Shadow : We can make the image appear to have a little depth by adding a shadow to the image. The other three options are for the properties of the shadow.

If the main image has to be retained as it is we can click on “work on a copy” so that the gimp creates a new image with round corners.

Now click on OK. Once gimp finishes working on the image, you should see the image as below.

 photo rounded_image.jpg

Click on

file->save as

 photo 6_save_as.jpg

Give a name for the image and add the extension .jpg.

If prompted for confirmation regarding export to jpg click on export.

 photo 7_export.jpg

The next prompt will allow us to choose the image quality. Choose the required quality and click on save.

 photo 8_save.jpg

The image with rounded corners should be ready as below.

 photo rounded_final.jpg

Category: Linux | Comments Off on Converting the sharp corners of an image to round corers using gimp in linux

Addng border to an image using gimp in linux

Here is how we can use gimp to add border to any image. For example to the image below we can add a colored border

 photo DSC00302.jpg

The image with border will look as below.

 photo simpler_border.jpg

The color of the border and the thickness can be configured as given below.
Open gimp, and click on

file->open

 photo 1_file_open.jpg

Then browse the image to which the border has to be added and click on open.

 photo 2_image.jpg

The image will open in gimp as a layer. Now click on

filters->decor->add border.

 photo 3_border.jpg

A menu as shown below will open.

 photo 4_border_menu.jpg

The first two options are the thickness of the border in the x and y directions respectively.
The third option is to choose the color for the border.

The fourth option allows us to choose the spread of the color. By default the color will be evenly spread, but if a higher number is given here the spread will be uneven with darker at certain places and lighter at the other.

Now click on OK.

Gimp will create the border for the image.

 photo 5_final.jpg

Now to save the image in jpg format, click on

file->save as

In the window that opens Enter a filename, and choose the file type as jpg among the options in the right corner.

 photo 6_save_as.jpg

Click on save,a window will be shown prompting you to confirm if you want to export the image to jpg format. click on export.

 photo 7_export.jpg

In the next window the image quality can be controlled by choosing the appropriate number against the quality and click on save.

 photo 8_save.jpg

The image with the border should be ready.

Category: Linux | Comments Off on Addng border to an image using gimp in linux

Creating fire animation using gimp in linux

Here are the steps to create an animation, using gimp, as if an image is on fire as shown below.

To be able to create the animation we will need gimp along with the additional gimp packages, i.e. gimp animation packages gimp-gap and gimp-plugin-registry . To install these extra packages in debian based systems run the command

sudo apt-get install gimp-gap sudo apt-get install gimp-plugin-registry

Note: In the post we will add the fire effect to the image of a logo the same can be done to any other image.

Once the installation is successful, launch gimp and go to

file->create->logos->BasicII

Type the text for which the fire animation has to be added, we have used the text Fire. Choose any color of your preference.

We should see a window as below.

Now click on one of layers to which the animation has to be added and go to

Fx-Foundry->animaton->Fire animaton

In the menu that is shown we can choose

How many frames of fire animation has to be added, more the number of frames more detailed the fire will look

Overlap flames: How many frames of fire flames will overlap with each other.

Gradient: The color of the flames

Framerate: How fast should the flames appear, smaller the number faster the flames will appear

Angle: The angle of the flames

Distance: How high should the flames be, bigger the number higher the flames, hence the fire appears bigger.

Background: The image on which the flames should appear.

Now click OK and wait for gimp to do its magic. Once done, we should see a new window as below.

To see the animaton in a preview click on filter->animation->playback

Click on the play icon to see the animation.

If it is satisfactory then close the preview and save the animation by clicking

file->save as

Enter a file name with .gif as extension and from the file type options at the right bottom choose .gif and click on save.

A prompt will be shown confirming whether we need to save the file as animation or single image, select save as animation and click on “Export”

In the next window we can choose whether the animation should run once or continously by checking the loop forever box.We can also specify the delay between frames in case it is not mentioned in the layer attributes.

Now click on save. The fire animated image should be ready to use.

Category: Linux | Comments Off on Creating fire animation using gimp in linux