El diálogo de canales es el principal interfaz para editar, modificar y administrar sus canales. Los canales tienen un doble propósito. Es por esto que el diálogo se divide en dos partes: la primera parte es para los canales de color, y la segunda es para las máscaras de selección.
Color channels apply to the image and not to a specific layer. Basically, three primary colors are necessary to render all the wide range of natural colors. As other digital software, GIMP uses Red, Green, and Blue as primary colors. The first and primary channels display the Red, Green, and Blue values of each pixel in your image.
Next to the channel name is a thumbnail displaying a grayscale representation of each channel, where white is 100% and black is 0% of the primary color. Alternatively, if your image is not a colored but a Grayscale image, there is only one primary channel called Gray. For an Indexed image with a fixed number of known colors there is also only one primary channel called Indexed.
Then there is an optional channel called Alpha. This channel displays transparency values of each pixel in your image (See Alpha Channel in Glossary). In front of this channel is a thumbnail displaying a grayscale representation of the transparency where white is opaque and visible, and black is transparent and invisible. If you create your image without transparency then the Alpha channel is not present, but you can add it from the Layers Dialog context menu. Also, if you have more than one layer in your image, GIMP automatically creates an Alpha channel.
Nota | |
---|---|
GIMP no soporta los modelos de color CMYK y YUV. |
La imagen derecha está compuesta de tres canales de color (rojo, verde y azul) y del canal alfa para la transparencia. Sobre la imagen derecha la transparencia se muestra como un tablero de ajedrez. En el canal de color, el blanco es siempre blanco porque todos los colores se hayan presentes, y el negro es negro. El sombrero rojo es visible en el canal rojo pero casi invisible en los otros dos canales. Pasa lo mismo con el verde puro y con el azul puro, los que se hayan visibles sólo en sus propios canales, e invisibles en los otros.
Este diálogo es un diálogo acoplable; consulte la Sección 2.3, “Diálogos y acoplables” para obtener ayuda sobre su uso.
Puede acceder:
From the main menu through
→ → .From the Tab menu in any dockable dialog by clicking on and selecting → .
In the detached windows which exists only if at least one dialog remains open. In this case, you can raise the “Channels” dialog from the main menu: → .
menu, there is a list ofThe Channels Dialog consists of a list of color channels and the optional Alpha channel at the top; and below that a list of selection mask channels. A right-click in a channel list entry opens the channel context menu.
The color channels are always organized in the same order. They cannot be removed. You can only change their visibility and select or unselect them. By default, all of these channels are visible and selected.
Atención | |
---|---|
The selected color channels appear highlighted in the dialog. If you click on a color channel in the list you toggle selection of the corresponding channel, meaning a selected channel will become unselected and vice versa. Unselecting one of the color channels red, blue, or green has severe consequences. For instance if you disable the blue channel, all pixels from now on added to the image will not have a blue component, and so a white pixel will have the yellow complementary color. |
Nota | |
---|---|
The duplicate and selection commands documented below can also be used on the color channels. However, this only works when accessing the command from the right-click context menu, and only for one channel at a time. |
GIMP allows you to select multiple selection mask channels and perform actions on them. You can e.g. move them to a different location in the channels stack, and convert them to selections. Selecting multiple channels is done by using the mouse and Shift key, for adding a range of channels, or Ctrl key, for adding or removing the clicked channel.
Directly above the list of selection masks is the header bar. On the left you see the icons that identify the visibility and lock columns. In the middle a text label will tell you how many channels are currently selected if it is more than one.
Cada canal se muestra en la lista con sus propios atributos. que son muy similares a los atributos de las capas:
By default, all color channels are visible, and color mask channels are invisible. Clicking on the eye-symbol, or the empty space if the channel is not visible, will toggle the visibility of the channel. Shift-clicking on the icon causes all other channels to be hidden.
Each selection mask channel has lock attributes. If one of its attributes is set, the respective lock icon will show up in front of the thumbnail.
When multiple attributes are set, a double lock icon will show here. Clicking in this column allows you to change these attributes.
This icon shows when “lock pixels” is enabled for the current channel. When this is enabled, the channel is locked for any action that changes pixels, meaning there will be no changes done to this channel.
This icon shows when “lock position and size” is enabled for the current channel. When this is enabled, the channel is locked for any action that changes its position or size.
This toggle button controls the “Lock” setting for the visibility of the channel. If this is enabled, the channel visibility cannot be changed until you disable the lock.
A small preview icon represents the effect of the channel. This preview can be enlarged by holding down the left mouse button on it.
The name of the channel, which must be unique within the image. Double-clicking on the name of a selection mask channel will allow you to edit it. The names of the primary channels (Red, Green, Blue, Alpha) can not be changed. Double-clicking on the preview icon will open a dialog where you can set all channel attributes.
The button bar at the bottom offers the following functionality:
This creates a new channel. A dialog will open where you can set the Channel name, the Color tag, the channel attributes and lock attributes, and finally the Opacity and color used for the mask in the image window. A click on the color button displays the GIMP color selector where you can change the mask color.
If you press the Shift key while clicking the button, the New Channel dialog will not be opened. Instead the new channel will be created with the same settings as used previously. This new channel is a selection mask applied over the image. See for more details Selection Mask.
This moves the selected channels up in the list. Press the Shift key to move the selected channels to the top of the list.
This moves selected channels down in the list. Press the Shift key to move the selected channels to the bottom of the list.
This creates a copy of the selected channels. The name of the new channels is suffixed with a number.
Sugerencia | |
---|---|
You can also duplicate color channels or the Alpha channel. It's an easy way to keep a copy of them and to use them later as a selection in an image. Note that you can only duplicate one color channel at a time, and only using the right-click context menu. |
This transforms the selected channels to become a selection. By default the selection derived from channels replaces the active selection. You can change this by using control keys.
Shift: the selection derived from a channel is added to the active selection. The final selection is merged from both.
Ctrl: the final selection is the subtraction of the selection derived from a channel from the active selection.
Shift+Ctrl: the final selection is the intersection of the selection derived from a channel with the active one. Only the selected parts common to both are kept.
This deletes the selected channels.
You can get the Channels context menu by right clicking on a channel. Several of the operations on channels are also available through buttons at the bottom of the channels list. Those operations are documented there.
These commands, except Edit Channel Attributes…, also work when multiple channels are selected.
Only available for selection masks. Here you can change the Channel name, the Color tag, the channel attributes and lock attributes, and finally the Opacity and color used for the mask in the image window. A click on the color button displays the GIMP color selector where you can change the mask color.
Only available for selection masks. This allows you to assign a color tag to one or more selected channels. If you have a lot of channels this can make it easier to identify them by giving related channels the same color tag. To remove the color tag choose None.
Consulte la Gestión de canales.
The selection derived from the selected channels replaces the previously active selection.
The selection derived from the selected channels is added to the active selection. The final selection is merged from both.
The final selection is the subtraction of the selection derived from the selected channels from the active selection.
The final selection is the intersection of the selection derived from the selected channels with the active one. Only the selected parts common to both are kept.
Channels can be used to save and restore your selections. In the Channels dialog you can see a thumbnail representing the selection. Selection Masks are a graphical way to build selections into a gray level channel where white pixels are selected and black pixels are not selected. Therefore gray pixels are partially selected. You can think of them as feathering the selection, a smooth transition between selected and not selected. This is important to avoid the ugly pixelization effect when you fill the selection or when you erase its content after isolating a subject from background.
Hay varias maneras de inicializar una máscara de selección.
From the main menu
→ if there is an active selection.In the image window the bottom-left button creates a Quick Mask; the content will be initialized with the active selection.
From the Channels dialog, when you click on the New channel button or from the context menu. When created, this Selection mask appears in the Channels dialog, named “Selection maskcopy” with a queuing number. You can change this by using the context menu that you get by right-clicking on the channel.
Once the channel is initialized, selected (highlighted in blue), visible (eye-icon in the dialog), and displayed as you want (color and opacity attributes), you can start to work with all the paint tools. The colors used are important. If you paint with some color other than white, gray, or black, the color Value (luminosity) will be used to define a gray (medium, light, or dark). When your mask is painted, you can transform it to a selection by clicking on the button (Channel to Selection) or from the context menu.
También puede trabajar las máscaras de selección con otras herramientas, no sólo con las herramientas de pintar. Por ejemplo, puede usar las herramientas de selección para rellenar áreas con degradados o con patrones. Añadiendo varias máscaras de selección a la lista puede componer fácilmente selecciones muy complejas. Se puede decir que una máscara de selección es a una selección lo que una capa es a una imagen.
Atención | |
---|---|
Una vez que la máscara de selección está activada, trabaja sobre ésta y no sobre la imagen. Para volver a trabajar en la imagen, debe desactivar todas las máscaras de selección. Tampoco olvide ocultar las máscaras desactivando el icono con forma de ojo. También compruebe que todos los canales RGB y alfa estén activados y visibles en la imagen. |
A Quick Mask is a Selection Mask intended to be used temporarily to paint a selection. Temporarily means that, unlike a normal selection mask, it will be deleted from the channel list after its transformation to selection. The selection tools sometimes show their limits when they have to be used for doing complex drawing selection, as progressive. In this case, using the Quick Mask is a good idea which can give very good results.
The Quick Mask can be activated in different ways:
From the main menu:
→ .By clicking the bottom-left button highlighted in the screenshot.
Usando el atajo Mayús+Q.
To initialize a Quick Mask, click the bottom-left button in the image window. If a selection was active in your image, then its content appears unchanged while the border is covered with a translucent red color. If no selection was active then all the image is covered with a translucent red color. Another click on the bottom-left button will deactivate the quick mask.
From the Channels dialog you can double click on the name or the thumbnail to edit the QMask attributes. Then you can change the Opacity and its filling color. At every moment you can hide the mask by clicking on the eye icon in front of the QMask.
La máscara se codifica en tonos medios, así que debe usar el blanco o el gris para reducir el área limitada por la máscara y el negro para incrementarla. El área pintada en gris claro o oscuro serán áreas de transición de la selección como difuminadas. Cuando su máscara está lista, pulse otra vez sobre el botón de la parte inferior izquierda en la ventana de la imagen y la máscara rápida se quitará de la lista del canal y se convertirá en una selección.
La propuesta de la máscara rápida es pintar un selección y sus transiciones con las herramientas de pintura sin preocuparse con la gestión de las mascaras de selección. Es una buena manera de aislar un sujeto de una imagen porque una vez que se ha hecho la selección sólo tiene que quitar su contenido (o a la inversa si el sujeto está en la selección).
After the Quick Mask Button is pressed, the command generates a temporary 8-bit (0-255) channel, on which the progressive selection work is stored. If a selection is already present the mask is initialized with the content of the selection. Once Quick Mask has been activated, the image is covered by a red semi-transparent veil. This one represents the non-selected pixels. Any paint tool can be used to create the selection on the Quick Mask. They should use only grayscale color, conforming the channel properties, white enabling to define the future selected place. The selection will be displayed as soon as the Quick Mask will be toggled but its temporary channel will not be available anymore.
Sugerencia | |
---|---|
To save in a channel the selection done with the Quick Mask select in the main menu → . |
Abrir una imagen o comenzar un documento nuevo.
Activate the Quick Mask using the left-bottom button in the image window. If a selection is present the mask is initialized with the content of the selection.
Choose a drawing tool and use it with grayscale colors on the Quick Mask.
Deactivate the Quick Mask using the left-bottom button in the image window.