Post Reply 

Divide image into layers

Apr 22, 2012, 19:59
Post: #1
Divide image into layers
Hi,
Can someone help point me in the right direction with this. Perhaps I am not using the right terms but my googling has failed to find a tutorial.

In the attached image, it comes up as one layer. What I want to do, is change the background gradient. So I guess I need to move the image of the bus to another layer and then change the background. But I don't know how.

Thanks in advance!


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
Apr 22, 2012, 20:58
Post: #2
RE: Divide image into layers
Actually this is more like extracting the subject from its background...

The usual answer to this is here: http://gimpforums.com/thread-proper-subj...d-painting

However you are in a case where the subject is uniform and the background is not, so you have to invert the technique (but I still suggest reading the above first):
  • First save the general shape (round corners): "Layer/Transparency/Alpha to selection", and "Select/Save to channel" (you can open the Channels list and rename the "Selection Mask copy" to something more meaningful)
  • Use the magic wand (Fuzzyselect) and click in the bus logo
  • "Select/Grow" by 1px
  • "Color/Color to Alpha" on white: you now have a nice hole where the bus was (canvas checkerboard pattern shows through).
  • "Layer/Transparency/Alpha to selection"+"Select/Invert": you have a bus shaped selection, but if you look closely, it also contains the corners.
  • In the channels list, right click the first saved selection, and "Intersect with selection", this removed the corner.
  • You can save this selection to a channel as above
  • Add new transparent layer
  • Bucket fill selection with white (or any other fill you want) to recreate the bus shape
  • For you new background, in the Channels list right click on the "corners" selection and "Channel to selection" (you have to use this selection to avoid filling the corners)
  • Fill the selection to your taste.

Now, if you only have very simple needs (like changing the color) you can just paint over the background after putting the brush (or bucket-fill) in "Hue" or "Color" mode, or use Color/Map/Rotate colors.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  "Open Image" change default folder and thumbnail view? Dave001 1 43 Aug 15, 2017 19:56
Last Post: ofnuts
  select multiple layers in the Layers Dialog user5555155 1 45 Aug 14, 2017 14:19
Last Post: ythgilb
  How to wrap paragraph text in an image arun67 0 37 Aug 12, 2017 12:46
Last Post: arun67
  Combining gif image to static image help? littlegreendog 1 71 Jul 26, 2017 12:27
Last Post: ythgilb
  Image color vs color picker YalithKBK 1 111 Jul 7, 2017 11:45
Last Post: ythgilb

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS