By Arun, 2 years ago

Reducing a image without opening it in Linux

When you right click an image and select «Send To: Mail Recipients», you get an option to reduce the image size before sending it to email recipients in Windows XP. We don't have that option in Linux (I don't have that option in Ubuntu atleast). I found a fix thanks to flamarro from Ubuntu Forums. The fix (NIS - Nautilus Image Script) doesn't work the same way as Windows XP, but it reduces the number of steps needed to do that job in Linux. Once installed, Right click the image and select resize under script in the right click menu. You'll then get a box with different sizes (eg: 320*320, 600*600 etc) you want the image to be resized. Once you select a size from the dialog box, the program will resize the image and save it to a folder. The folder name will be the same as the size you selected. If you have selected 320*320, then the image will be stored under a folder 320*320, so your original image is preserved.

For installation in Ubuntu (must be the same in other systems):

1. sudo apt-get install imagemagick -- if you haven't installed it already.

2. sudo apt-get install zenity -- if you haven't installed it already.

3. Download the TAR file from here.

4. Open the TAR file. You'll see a file named resize and also a folder named nis.

5. It is enough if you extract the file «resize» to ~/.gnome2/nautilus-scripts/

If you open the nis folder in the TAR file, you'll see a folder named image and you'll see the file resize under the image folder. If you extract this folder to ~/.gnome2/nautilus-scripts/ then when you right click on the image, you'll see nis->image->resize under the script menu option. I didn't extract the nis folder. I just extracted the resize file to ~/.gnome2/nautilus-scripts/. If you are using KDE or Kubuntu, follow the instructions here.
There are some screenshots in the authors page, but it shows only few image resizing sizes and the language is not in English. I'll upload the screenshot tonight.

No comments

Be the first to write a comment on this post.

Write a comment

If you want to add your comment on this post, simply fill out the next form:





* Required fields

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>.

No trackbacks

To notify a mention on this post in your blog, enable automated notification (Options > Discussion in WordPress) or specify this trackback url: http://​www.blog.arun-prabha.com/​2006/​08/​02/​reducing-a-image-without-opening-it-in-linux/​trackback/