Mobile app version of vmapp.org
Login or Join
Smith574

: GIMP Image in selection Okay, so let's give a example of what I want. We got a white ball with black lines. I want for example a flag in it. When I drag or paste the image of that flag

@Smith574

Posted in: #Gimp #Selections

Okay, so let's give a example of what I want.
We got a white ball with black lines. I want for example a flag in it.
When I drag or paste the image of that flag in it, it goes up to the whole page and covers the other.

How do I prevent this and have a flag into a ball with eyes on the flag.
I searched it up and found it nowhere. I searched really good.

Picture without flag


Picture with flag but it stacks up :(



Solution didn't work.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Smith574

1 Comments

Sorted by latest first Latest Oldest Best

 

@Steve758

When you paste/drag things in, they keep their original size in pixels. You usually have to scale them (Layer>Scale layer or the Scale tool)(and very often Rotate them as well...) to make them fit.
If you want to cover a ball with a flag (which is likely flat when you import it...) you have to distort the flag. For this there is Filters>Map>Map object and its "Sphere" option.This filter maps the whole layer to a sphere, so you likely have to put your flag in a larger layer that surrounds it with transparency. Then if you have everything right adding the flag layer over the ball will make the flag appear to be part of the ball.


After the screenshot: no, you can't do that directly, but it is not hard either:


After the paste, make the pasted item a new layer (*Layer>To new layerù or Ctrl-Shift-N)
Adjust the position of that new layer with the Move tool (the pasted item is always pasted centered in the selection)
Invert the selection (Select>Invert)
Edit>Clear or [delete] to delete everything outside the initial selection.


Note that technically, the selection is not necessary when you paste (except to roughly position the flag). The following workflow would have worked just as well:


import the flag a new layer (drag from another opened image, File>Open as layers, or Edit>Copy/Layer>To new layer as above
Make the previous layer active while you create the selection (color select or else)
Select>Invert
Make the flag layer active, make sure it has an alpha channel (Layer>Transparency>Add alpha channel) and Edit>Clear

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme