Month: July 2010

Using mtpaint of Fedora to modify your images and make them look different.

Here is the description of mtpaint :

mtPaint is a simple painting program designed for creating icons
and pixel-based artwork. It can edit indexed palette or 24 bit RGB
images and offers basic painting and palette manipulation tools.
Its main file format is PNG, although it can also handle JPEG, GIF,
TIFF, BMP, XPM, and XBM files.

So, it looks like a good tool to create icons and artwork. But we can use this to do some stuff with our digital images also. I will show you some examples below, but before that let us install the program:

sudo yum install mtpaint

Now, the initial screen looks like this:


There is transform color in the menu, this can be used to adjust the Gamma, brightness, Contrast and so on. Will really help to fix up these things before going any further with the image.


Now we will look at the edge detect. There are couple of options here that you can try.  The output after applying one of these would look something similar to the next image.

\"screenshot_002\" \"screenshot_003\"

Now we have the difference of Gaussian effect. This also helps you give a different look to your images. Example below:

\"screenshot_004\" \"screenshot_005\"

And for the final image I have the Embrossed image.


Rest I will leave to your imagination. There\’s not much you can do anyway as this is not designed with this purpose in mind.


Shape Collage – Simple software to create collage with a java application.

Download from here.

Very useful utility to create collage in variety of ways. Here are some screenshots to give you a idea of how this works.





If you want to have your own shape you can click more and the draw the shape and then you can proceed normally and see you photo.

Example collage :


Auto Key press fill forms through simulating key presses |

This script can be used to repeatedly press keys on the keyboard, it was used to fill out 100 odd entries on a web page while testing without having to physically enter the data.

Save the code below some where like /usr/bin/ with what ever file name you like, set the file to be executable with chmod +x /usr/bin/keyrepeat

you can then run the command keyrepeat 100 \”1\” or what ever you chose as the filename of your script.

You will have 5 seconds to focus a window, the program will then simulate a user pressing the keys on the keyboard.

sleep 5 #delay to allow the user to focus a window number=$1 #first parameter, number of times to repeat text=$2 #second parameter, text to repeat will interpret as tab for ((counter=1;counter< =$number;counter+=1)); do #loop required number of times xvkbd -xsendevent -text $text #this sends the text as key presses done