Gimp-Forum.net
Fill with pattern - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Older Gimp versions (2.8, 2.6....) (https://www.gimp-forum.net/Forum-Older-Gimp-versions-2-8-2-6)
+--- Thread: Fill with pattern (/Thread-Fill-with-pattern)



Fill with pattern - maltje - 01-25-2020

Hi I post it here because I can't post in gimp 2.10
I'm a newbie.
I open a new project
I draw a circle in it.
I fill this with a pattern ,everything ok.
Now I open a picture of let say a cross(downloaded from the internet.
I fill with a pattern but the filling is now black and white.
What do I wrong?

Kind regards


RE: Fill with pattern - Blighty - 01-25-2020

(01-25-2020, 01:14 PM)maltje Wrote: I draw a circle in it.
Is that a selection (with the ellipse tool)?

Quote:Now I open a picture of let say a cross(downloaded from the internet.
Did you make a selection on the cross?

Quote:I fill with a pattern but the filling is now black and white.
Check Image > Mode for the cross image.
It should be RGB (not Grayscale or Indexed).


RE: Fill with pattern - maltje - 01-25-2020

Thank you very much.
The image mode was grayscale
I bought some lessons o, youtube but didn't find the right answer.
I have a lot to learn.
I would like to fill in a picture with other colors.

kind regards


RE: Fill with pattern - Ofnuts - 01-25-2020

There are three images modes (see the Image>Mode menu):
  • RGB (aka "full RGB"). A pixel is defined by three color components (R, G, and B). This is the most frequent case, and corresponds to JPG and (most) PNG images.
  • Grayscale: A pixels is defined by a single component (often called "Value"). Not to be confused with an RGB images where R=G=B. Although supported by the JPEG format, it is rarely used to publish images.
  • Indexed: a pixel is defined by an index in a colormap. The colormap holds 256 colors maximum. This corresponds to GIF and (some) PNG images.
In addition, images can have an "alpha-channel" that defines how opaque the pixel is. Some image formats cna store it (PNG) and some don't (JPG). In indexed image, there isĀ  no progressive opacity, it's fully opaque or fully transparent.