GIMP

From Gentoo Wiki
Jump to: navigation, search
Resources

GIMP is the GNU Image Manipulation Program. It can be used as a simple paint tool, photo retouching and general image manipulation.

Installation

root #emerge --ask media-gfx/gimp

If the GIMP help pages (documentation) is desired, then also emerge the app-doc/gimp-help package:

root #emerge --ask app-doc/gimp-help

USE flags

USE flags for media-gfx/gimp GNU Image Manipulation Program

aalib Add support for media-libs/aalib (ASCII-Graphics Library)
alsa Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
altivec Add support for optimizations for G4 and G5/ppc970 processors
aqua Include support for the Mac OS X Aqua (Carbon/Cocoa) GUI
debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
gnome Add GNOME support
heif Enable support for ISO/IEC 23008-12:2017 HEIF files
jpeg2k Support for JPEG 2000, a wavelet-based image compression format
mng Add support for libmng (MNG images)
openexr Support for the OpenEXR graphics file format
postscript Enable support for the PostScript language (often with ghostscript-gpl or libspectre)
python Add optional support/bindings for the Python language
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
udev Enable virtual/udev integration (device discovery, power and storage device support, etc)
unwind Add support for call stack unwinding and function name resolution
vector-icons Enable support for vector icons (experimental)
webp Add support for the WebP image format
wmf Add support for the Windows Metafile vector image format
xpm Add support for XPM graphics format

A full list of all USE linguas can be seen by using the equery tool (part of app-portage/gentoolkit):

user $equery uses media-gfx/gimp

Plugins

For some GIMP plugins that are included in the Portage tree, please see the GIMP Plugins sub-article.

Troubleshooting

Non white on black fonts look terrible

Example of terrible looking fonts

If your non white fonts look terrible in GIMP, you might try to turn off sub-pixel hinting for GIMP. You can do this by creating a fonts.conf in the GIMP user configuration directory (e.g. $HOME/.gimp-2.8/).

FILE $HOME/.gimp-2.8/fonts.confTurns off sub-pixel hinting for GIMP
<fontconfig>
  <match target="font">
    <edit name="rgba" mode="assign">
      <const>none</const>
    </edit>
  </match>
</fontconfig>

External resources