Difference between revisions of "GIMP"

From ArchWiki
Jump to: navigation, search
m (Hide Noto: typo)
 
Line 54: Line 54:
 
=== Hide Noto ===
 
=== Hide Noto ===
  
Add the following to {{ic|~/.config/GIMP/2.10/fonts.conf}} if you have {{Pkg|noto-fonts}} installed and would like to remove them from GIMP's font list:
+
Add the following to {{ic|~/.config/GIMP/2.10/fonts.conf}} if you have {{Pkg|noto-fonts}} installed and would like to remove them from GIMP's fonts list:
  
 
  <?xml version='1.0'?>
 
  <?xml version='1.0'?>

Latest revision as of 07:51, 13 August 2018

GIMP is a powerful raster image editing program, and commonly used for photo retouching, image composition, and general graphic design work. It can be used as a simple paint program, an expert quality photo retouching program, an online batch processing system, a mass production image renderer, an image format converter, etc.

Installation

Install the gimp package.

Tip: The GIMP implements a plug-in system and the repositories (official, AUR) contain more plug-ins than listed in the package's optional depends.

Tips and tricks

Captions

To caption an image follow these steps after inputting the desired text:

  1. Click Layer and Text to Path
  2. Click Select and From Path
  3. Click Select and Invert
  4. Click Edit and Stroke Path

Create a circle

To draw a circle in GIMP follow these steps:

  1. Select the Ellipse tool and hold Shift
  2. Click Edit and Fill with Color
  3. Click Select and Shrink
  4. Press Delete
Tip: Grow and Border give the same result.

Troubleshooting

Green text

Add the following to ~/.config/GIMP/2.10/fonts.conf if you see a green tint around letters with antialiasing enabled:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
  <match target="font">
    <edit name="rgba" mode="assign">
      <const>none</const>
    </edit>
  </match>
</fontconfig>

Hide Noto

Add the following to ~/.config/GIMP/2.10/fonts.conf if you have noto-fonts installed and would like to remove them from GIMP's fonts list:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
  <rejectfont>
    <glob>/usr/share/fonts/noto</glob>
  </rejectfont>
</fontconfig>

See fonts-conf(5) and Font configuration#Whitelisting and blacklisting fonts for more information.

PDF files

GIMP requires the poppler-glib library to open PDF files. Without this library GIMP will say that a PDF file is "unrecognized" when attempting to open a PDF file.

Since GIMP rasterizes PDF files right from the start, it will not exploit intrinsic PDF capabilities while editing them. Other programs (like LibreOffice Draw) can be used to better edit PDF files.

See also