How to resize or rotate image in Ubuntu
Problem
Ubuntu has a very good build-in screen shot tool to capture the current screen, however some of the captured pictures’ file size are too large, image resize will always required.
Solution
Many screen shot tool in Windows does provide the image resize function, surprisingly this is not provide by Ubuntu in default. The ” nautilus-image-converter” can be install and use to resize or rotate an image in Ubuntu.
1. Apt install nautilus-image-converter
Issue the apt-get command to install the nautilus-image-converter, it’s around 20mb, wait few minutes.
sudo apt-get install nautilus-image-converter
2. Log out Ubuntu / restart nautilus service
After installed, service restart is required to take effect. Either you can log out and log in again or issue the following command to restart nautilus.
nautilus -q; nautilus &Output
mkyong@mkyong-laptop:~$ nautilus -q; nautilus & mkyong@mkyong-laptop:~$ Initializing nautilus-image-converter extension Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory Please ask your system administrator to enable user sharing. ** (nautilus:21508): WARNING **: Unable to add monitor: Not supported mkyong@mkyong-laptop:~$
Ignore the warning, the image resize is ready for you.
3. Right click on your picture
Right click on your picture, you will notice two new options called “resize image…” and “rotate image…”.
Right click
Resize image
Rotate image
4. Done
Reference
http://www.bitron.ch/software/nautilus-image-converter.php
- Java Core Technology - Java RegEx, Java XML, Java I/O, Java Misc
- J2EE Frameworks - Hibernate, Spring 2.5, Spring MVC, Struts 1.x, Struts 2.x
- Build Tools - Maven, Archiva
- Unit Test - jUnit, TestNG
- Client Scripts - jQuery