Science and technology

4 methods to edit pictures on the Linux command line

Linux is beneficial to photographers and graphic artists. It offers many instruments for enhancing several types of picture information and codecs, together with pictures. This roundup reveals that you don’t even want a graphical interface to work along with your pictures. Here are 4 methods which you can edit photographs on the command line.

Apply results to your photographs

A few years in the past, Seth Kenlon wrote the article, 4 fun (and semi-useless) Linux toys which included an introduction to the ImageMagick suite of enhancing instruments. ImageMagick is much more related immediately in 2021.

This article taught us about Fred’s ImageMagick scripts, which actually are helpful. Fred Weinhaus maintains over 200 scripts for making use of all kinds of results to your picture information. Seth reveals us an instance of Fred’s vintage3 script that offers a picture an old-time look.

Create photograph collages

This yr, Jim Hall confirmed us learn how to create a collage from pictures together with his article, Create a photo collage from the Linux command line.

Collages are used so much in pamphlets and brochures. They are a enjoyable strategy to show a number of photographs inside a single image. Effects could be utilized to mix them additional collectively. As a matter of truth, I used his article as a information to create the collage of images above. That is me after I was a child! Here is the command I used:

$ montage Screenshot-20211021114012.png
Screenshot-20211021114220.png
Screenshot-20211021114257.png
Screenshot-20211021114530.png
Screenshot-20211021114639.png
Screenshot-20211021120156.png
-tile 3x2 -background black
screenshot-montage.png

Resize photographs

Jim delivered one other article, Resize an image from the Linux terminal. This tutorial demonstrates learn how to change the scale of a picture file and put it aside as a brand new file utilizing ImageMagick. For instance, the collage that resulted from the montage command above didn’t have the required dimensions. Learning learn how to resize allowed me to regulate the width and peak in order that it could possibly be included. This is the command I used to resize the lead picture of this text:

$ convert screenshot-montage.png -resize 520x292! alanfd-kid-montage.png

Automate picture processing

Recently, I made a decision to check out the ImageMagick suite for myself. This time, I mixed its instruments right into a Bash script. The article is entitled Automate image processing with this bash script. This instance is an easy script that automates the manufacturing of photographs for my articles. It is tailor-made to the necessities right here on Opensource.com. I supplied a Git repo hyperlink within the article if you need to make use of the script. It is definitely modified and extensible for anybody’s wants.

Wrap up

I hope you take pleasure in these articles and use Linux in your creative endeavors. If you wish to take a look at extra Linux picture software program, check out the Fedora Design Suite Spin. It is a whole working system set up that features many various open supply multimedia manufacturing and publishing instruments, similar to:

  • GIMP
  • Inkscape
  • Blender
  • Darktable
  • Krita
  • Scribus
  • and extra…

Most Popular

breakingExpress.com features the latest multimedia technologies, from live video streaming to audio packages to searchable archives of news features and background information. The site is updated continuously throughout the day.

Copyright © 2017 Breaking Express, Green Media Corporation

To Top