Dialogvindauget med fargekart for indekserte fargar (også kalla indeksert palett) blir brukt for å redigera fargane i eit indeksert bilete. Dersom biletet er i RGB- eller gråskalamodus, vil dialogvindauget vise ein palett utan fargar. Dette dialogvindauget kan limast inn i andre dialogar som forklart nærare i Del 2.3, “Dialogar og samlevindauge”. Du kan aktivere denne dialogen på to måtar:
The “Colormap” dialog is a dockable dialog; see the section Del 2.3, “Dialogar og samlevindauge” 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.
Det er viktig å vere klar over at fargane i fargekartet er dei einaste tilgjengelege fargane i eit indeksert bilete. Du kan gjere forandringar i fargekartet, men ikkje hente inn fargar til biletet frå andre stader enn frå kartet. Dette kan påverka mange av operasjonane du kan gjere på eit bilete. Bruker du for eksempel mønsterfyll, vil GIMP ikkje alltid finne den eksakte fargen i fargekartet men må slumpe litt og bruke den fargen som ligg nærast den ønskte fargen. <placeholder-1></placeholder-1> Dersom fargekartet er lite, altså med få fargar, kan dette resultere i nokså dårleg kvalitet.
Å bruke dialogen
Klikke på ein farge
Ctrl-klikk på ein farge
Dobbeltklikk på ein farge
Fargeindeks
HTML-notasjon
Rediger farge
Legg til farge
![]() |
Tips |
---|---|
Denne knappen, som du finn i nedre, høgre hjørne, blir brukt når du ønskjer å legge til ein ny farge i fargekartet. Trykker du på denne knappen, vil forgrunnsfargen som er vist i verktøykassa bli flytt til slutten av fargekartet. Dersom du held inne Ctrl-tasten medan du klikkar, vil bakgrunnsfargen bli brukt. Dette kan bare gjerast dersom fargekartet inneheld mindre enn 256 fargar. |
![]() |
Notat |
---|---|
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. |
![]() |
Notat |
---|---|
Denne dialogen er den vanlegaste måten å forandre fargane i fargekartet for eit indeksert bilete på. Dei vanleg fargeverktøya som “lys/kontrast”, “kulør/metning” osv. verkar ikkje på indekserte bilete. Derimot vil ein del av programtillegga kunne brukast, for eksempel “normaliser”, “fargeforbetring” og “strekk kontrast”. |
Lokalmenyen for fargekartet
Figur 14.15. Dersom du bruker ein farge som ikkje finst i fargekartet, vil GIMP bruke den fargen i fargekartet som kjem nærast.
Rediger farge
Legg til farge frå FG
Legg til farge frå BG
Ordne fargekartet på nytt