Spalvų gamos (Indeksuota paletė yra geresnis pavadinimas) leidžia redaguoti indeksuoto paveikslėlio spalvų gamą. (Jeigu aktyvaus paveikslėlio veiksena yra RGB arba Pilkų atspalvių, o ne Indeksuota, dialogas yra tuščias ir nepanaudojamas.) Tai yra įtaisomas dialogas; informaciją, kaip jį valdyti, galite rasti sekcijoje Dialogai ir prijungimas. Jį galite aktyvuoti keliais būdais:
The „Colormap“ dialog is a dockable dialog; see the section Skyrius 2.3, „Dialogai ir dokai“ for help on manipulating it.
You can access it:
from the image menu:
→ → ;
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 „Colormap“ dialog from the image-menu: → .
menu, there is a list ofIn an Indexed image, instead of being assigned a color directly (as happens in RGB and Grayscale images), colors are assigned to pixels by an indirect method, using a look-up table called a colormap.
To determine the color that should be shown for that pixel, GIMP looks up the index in the image's colormap. Each indexed image has its own private colormap. In GIMP, the maximum number of entries in a colormap is 256. For a maximum-sized colormap, each index from 0 to 255 is assigned an arbitrary RGB color. There are no rules restricting the colors that can be assigned to an index or the order they appear in: any index can be assigned any color.
It is important to realize that the colors in the colormap are the only colors available for an indexed image (that is, unless you add new colors to the colormap). This has a major effect on many GIMP operations: for example, in a pattern fill, GIMP will usually not be able to find exactly the right colors in the colormap, so it will approximate them by using the nearest color available. This is sometimes referred to as Quantization. If the colormap is too limited or poorly chosen, this can easily produce very poor image quality.
Svarbu suprasti, kad spalvų gamoje esančios spalvos yra vienintelės prieinamos spalvos indeksuotam paveikslėliui (t. y., nebent spalvų gamoje pridėsite naujas spalvas). Tai turi didelį poveikį daugumai GIMP operacijų: pavyzdžiui, užpildant raštu programa GIMP paprastai spalvų gamoje neras tiksliai atitinkančių spalvų, taigi suapvalins jas iki artimiausios galimos spalvos. <placeholder-1></placeholder-1> Jeigu spalvų gama yra perdaug ribota arba prastai parinkta, dėl to paveikslėlio kokybė gali būti labai prasta.
Spalvų gamos dialogo naudojimas
Spalvos įrašo spustelėjimas
This sets GIMP's background color to the color you Ctrl-click on, as shown in the Toolbox color area.
Dvigubas spalvos įrašo spustelėjimas
Spalvos indeksas
Šešioliktainis tripletas
Keisti spalvą
Pridėti spalvą
![]() |
Patarimas |
---|---|
If you make a mistake, you can undo it by focusing the pointer in the image whose colormap you have changed, and then pressing Ctrl+Z or choosing → in the image menu. |
![]() |
Pastaba |
---|---|
This dialog provides the most commonly used methods for altering the colormap for an indexed image. The color tools, such as Brightness/Contrast, Hue/Saturation, etc, do not operate on indexed images. There are a few plug-ins that do so, including the „Normalize“, „VColor Enhance“, and „Stretch Contrast“ operations, and it is possible to create others as well. |
![]() |
Pastaba |
---|---|
Šis dialogas suteikia dažniausiai naudojamus indeksuoto paveikslėlio spalvų gamos keitimo metodus. Spalvų įrankiai, pvz., Šviesumas / Kontrastas, Atspalvis / Sodrumas, ir t. t., negali būti naudojami indeksuotuose paveikslėliuose. Yra keli įskiepiai, kuriuos galima naudoti indeksuotuose paveikslėliuose, pvz., operacijos „Normalizuoti“, „Spalvų pagerinimas“ ir „Ištempti kontrastą“, o taip pat galima sukurti kitus. |
Spalvų gamos kontekstinis meniu
Pav. 15.15. Jeigu piešiate indeksuotame paveikslėlyje spalva, kurios nėra Spalvų gamoje, programa GIMP naudos panašiausią Spalvų gamoje esančią spalvą.
Keisti spalvą
Pridėti iš priekinio plano
Pridėti iš fono
Pertvarkyti spalvų gamą