4.10. Adskil et objekt fra dets baggrund

Figur 3.39. Objekt med baggrund

Objekt med baggrund

Sometimes you need to separate the subject of an image from its background. You may want to have the subject on a flat color, or keep the background transparent so you can use it on an existing background, or any other thing you have in mind. To do this, you must first use GIMP's selection tools to draw a selection around your subject. This is not an easy task, and selecting the correct tool is crucial. You have several tools to accomplish this:

4.10.1. Once you have selected your subject

Once you have selected your subject successfully, use SelectInvert. Now, instead of the subject, the background is selected. What you do now depends on what you intended to do with the background:

  • For at udfylde baggrunden med en enkelt farve:

    Click the foreground color swatch (the top left of the two overlapping colored rectangles) in the toolbox and select the desired color. Next,use Afsnit 3.4, “Spandudfyld” to replace the background with your chosen color.

    Figur 3.43. Resultat ved tilføjelse af ensfarvet baggrund

    Resultat ved tilføjelse af ensfarvet baggrund

  • Lav en sort-og-hvid-baggrund mens emnets farve bevares:

    Brug FarverFjern mætning. Vælg et af de fire menupunkter, hvilket åbner en dialog til indstilling af effekten.

    Figur 3.44. Resultat af mindsket mætning af baggrunden

    Resultat af mindsket mætning af baggrunden