Image Editing Software for Linux

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

A basic overview of some popular image software tools and photo editing software in Linux - With a focus on apt based distributions such as Debian, Ubuntu, and Mint. Tools for console work as well as work in the graphical X environment are included. Article based on distributions circa 4.0 kernel and higher.

ImageMagick

convert

Description: Example:

mogrify

Description: Example:

mogrify -resize 1024x2018 *.jpg
mogrify -resize 2455x7189 map2019110101.png

The cache folder on my solid state drive (/dev/mapper/linux--vg-root) would fill up causing ImageMagick to crash on really big files, so I set the cache path to another drive with more space.

env MAGICK_TMPDIR=/home/nicolep/drive2 mogrify -debug cache -limit memory 8GB -limit map 8GB -resize 2455x7189 map2019110101.png

The reference to drive2 is a symbolic link to a mounted drive under /media which had to have chmod to allow write permission.

Example, there are 32 images captured on an iPhone. The user wants the edges top, bottom, left, and right tripped off of all 32 images in the same way. Using gimp we determine the size the images will be after cropping, which will be 506 x 692 and we determine the x and y coordinate of the top left part where the first pixel is that we want to keep. To process all 32 images at once we type:

mogrify -crop 509x692+128+288 *.PNG

In this example, the resulting cropped image will be 509x692 and we started at the first pixel in the upper left 128 x 288.

mogrify -crop {Width}x{Height}+{X}+{Y} image.png

Phatch

Phatch and imagemagick basically have the same purpose, but have a different user experience. Imagemagick is command-line based and Phatch has a Graphical User Interface (GUI). As such Phatch is much more simple to use and also makes it more easy to create complex actions and handle subdirectories. As Phatch is developed with the Python Image Library.

Gimp

GIMP is a full featured graphic / image / photo editing software set of programs and tools similar in use or functionality to Adobe Photoshop. GIMP (GNU Image Manipulation Program) is extensive enough that its own wiki page can be devoted to the software tools.

Gimp / GIMP (technically all upper case) will provide for you nearly all of the features and tools available in the expensive commercial software package Adobe Photoshop with the exception that GIMP is absolutely free. Also, unlike Adobe Photoshop, GIMP is cross-platform and open source. You can run GIMP under Linux, Windows, and MacOS. Many Linux distributions include GIMP as a part of their desktop operating systems, including Fedora and Debian.

Tools used to perform image editing can be accessed via the toolbox, through menus and dialogue windows. They include filters and brushes, as well as transformation, selection, layer and masking tools.

GIMP uses an interface made up of multiple independent windows, which can be confusing for some users. You can toggle between the default multi-window mode and the new single-window mode in GIMP 2.8 and newer through the Single-window mode checkbox in the Windows menu. In single-window mode, GIMP will put dockable dialogs and images in a single, tabbed image window. The default windows were: Toolbox (left), Main Image (middle), Layers and Brushes (right). In single window mode all three are contained within the Main Image window, which is more consistent with the user experience of Microsoft Windows software.

  • CLICK Windows -> Single Window Mode (you will see a check symbol next to the label once selected)

Related Pages