I’m relatively new to Krita with no prior experience in other drawing programs. I’m using Krita 5.1.5 on a very large, very fast Windows 10 64-bit system. Capacity is not a problem.
I’m trying to create a vector polygon shape with its interior filled with a jpeg pixel/raster image. I want the final result to be a vector image which can be transformed.
For example, make a vector layer, create a 2D polygon shape (e.g. a square) in that layer, and then have the interior of that shape be a color wood grain jpeg image copied off the internet.
I can fill the polygon with a color, but I can’t seem to fill it with a raster image. Nor can I figure out how to use the polygon outline to make some kind of mask used to select that same shape from the raster image.
I can create the vector layer with a polygon shape, and then I add a paint layer above that with the texture image pasted in, and then turn on inherit alpha for that paint layer, but the interior of the polygon is not filled and instead just the lines forming the border of the polygon are filled.
The principle is exactly the same. All you need to do is edit the polygon’s properties and set it to a solid fill colour. There are also other ways to achieve what you want, I’ll elaborate on that if you want.
So if I set the polygon’s properties to a solid fill colour, when I turn on inherit alpha for paint layer above with the raster image, the polygon will be filled with the raster image and not the solid fill color?
Yes, provided that your paint layer doesn’t have transparent regions. However, in case it does, you can reverse the order of the 2 layers and set the vector layer’s blend mode to ‘Destination In’, which can be found under the ‘Mix’ category - without using ‘Inherit Alpha’.
‘Tool Options’ docker - if it’s not open, go to menu Settings > Dockers > Tool Properties*. Select the polygon with the ‘Select Shape’ tool, then you can edit its properties.
Ah. Found it. Yes on the tool options, “fill” tab, but it wasn’t labled “stroke and fill” dock nor did a tool tip pop up to tell me.
Regardless you are correct, after I set the polygon fill property (the dripping paint bucket icon) to “solid” and then inherit alpha on the above paint layer, the raster image filled out the polygon shape just as desired.