![]() ![]() And, sure enough, the file is reduced from 1.2MB to …1.1MB.īut that’s where we can get fancy and Jpegoptim can show off. To compress it using Jpegoptim I would open a new Terminal session and run: jpegoptim cookie.jpegĪfter the command has ‘done its thang’ - and bear in mind it will overwrite the original file by default - I can check the result. The default command optimizes your jpg images using maximum/lossless settings to offer the best image quality. To process an image you run the ‘jpegoptim’ command followed by the location of the image you wish to compress.įor example, I have a 1.2MB photo of Cookie in my Home folder. Jpegoptim is a small utility that can compress and optimize JPEG files without significant lose in quality - but a notable difference in file size.Ĭompression can help save on bandwidth (if using images on a website) and make sending emails a bit faster (if you have a slow connection). ![]() The app is tiny so won’t take long to install. Open a new Terminal session and enter the following command, followed by your password as prompted: sudo apt-get install jpegoptim This is entirely optional you can also install the app using the Ubuntu Software Center (or a similar package management tool). How to Install jpegoptim on Ubuntuįirst things first: let’s get the tool set-up on your Linux machine.Īs jpegoptim is a command line app we’ll show you how to use the command line to install it. If you don’t like the command line try the small image optimization app ‘Trimage’, which provides a GUI front-end for jpegoptim (and pngcrush). So in this post we show you a command line tool that lets you quickly compress jpeg images on Linux, without any fuss. Well, you might reach for a GUI app, like GIMP, and play around with settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |