GIMP Color Picker
I wanted to determine the hexadecimal or RGB values for the text in a Terminal
window on a CentOS 7 Linux system. I didn't have gpick or another color picker
utility available, but I did have the
GNU Image
Manipulation Program (GIMP) already installed on the system (you can
install it on a CentOS system with
yum install gimp
), so
I was able to
take a
screenshot of the window with GIMP and then use GIMP's
color picker tool to determine the color of the
text. To access the color picker tool, select
Tools and then Color
Picker from the GIMP menu.
[ More Info ]
[/software/graphics/gimp]
permanent link
Taking a screenshot with GIMP
If you need to take an image of a window or an area on the screen on a
Linux system, one of the options available is to use the
GNU Image
Manipulation Program, which is a
free and
open-source graphics editor that is also available for
FreeBSD,
Mac OS X, Microsoft Windows, and
Solaris systems.
You can determine if the application is already installed using the
which command.
If it isn't installed, on systems that use the
yum package management tool, such as
CentOS, you
can use the command yum install gimp
from the root
account to install it. On Linux distributions that use the
Advanced
Packaging Tool (APT) for package management, e.g.,
Ubuntu, you can use sudo apt-get install gimp
.
To take a snapshot of a window or an area of the screen, take the following
steps:
- Click on File.
- Click on Create.
- Select Screenshot.
-
You can then select from the following:
- Take a screenshot of a single window
- Take a screenshot of the entire screen
- Select a region to grab
[ More Info ]
[/software/graphics/gimp]
permanent link
Steps for taking a screenshot in GIMP
Steps for taking a screenshot in
GNU Image Manipulation Program (GIMP), which
is a free graphics program available for Linux, Mac OS X, Solaris, and
Microsoft Windows systems.
- Click on File.
- Select Create.
- Select Screenshot.
- When the GIMP screenshot window opens, you will have the option of
selecting the area for the screenshot.
Area
- Take a screenshot of a single window
[ ] Include window decoration
- Take a screenshot of the entire screen
[ ] Include mouse pointer
- Select a region to grab
Delay
[ 0 ] seconds
At the end of the delay, click in a window to snap it.
- When you have selected the option you want, click on the
Snap button.
If you choose to take a screenshot of a single window, the cursor will
change to something similar to a "+". Move the cursor over the appropriate
window and that window will be pasted into a GIMP window when you click on the
window. Note: make sure you don't have any windows overlapping the one
you wish to capture, otherwise you may see a portion of an overlapping
window in the screenshot.
If you don't want to capture the border around a window, scrollbars for
the window, and any application menu at the top of the window, uncheck
"Include window decoration.
If you choose "Take a screenshot of the entire screen", a snapshot
will be taken of the entire screen including the GIMP window.
If you select a region to grab, the cursor will change as above. You can
then click in one corner of the area of the screen you wish to include in
the snapshot then drag the mouse to a diagonal corner while holding the
mouse button down. When you release the button, the area selected will
be captured.
Once you have the screen shot, you can create a GIF, JPG, PNG, etc. image
file from the screenshot by clicking on File and selecting
Export.
[/software/graphics/gimp]
permanent link