It is currently Tue Nov 24, 2026 9:58 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: How to transfer layer mask to a different picture?
PostPosted: Fri Oct 21, 2011 8:44 am  (#1) 
Offline
New Member

Joined: Oct 21, 2011
Posts: 2
GIMP Version: 2.6.11
Operating System: Linux
OS Version: Fedora 15
GIMP Experience: Beginner Level



Hi,

I have a picture with several layers and different layer masks for each layer. I'd like to transfer these layer masks onto a second picture (in a second file, same size). How can I do this? It seems mask to selection and creating a new mask from selection only works within the same picture, but not across files...? Any ideas?

Thanks,
SirDrake


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Fri Oct 21, 2011 9:06 am  (#2) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
I believe the following comprises the fewest steps:

  • On source image, Copy the layermask.
  • On target image, activate Quickmask
  • Paste
  • Exit Quickmask (the pasted selection will be anchored automatically)
  • Add layermask, initialized from selection

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Fri Oct 21, 2011 9:10 am  (#3) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
sirdrake wrote:
GIMP Version: 2.6.11
Operating System: Linux
OS Version: Fedora 15
GIMP Experience: Beginner Level



Hi,

I have a picture with several layers and different layer masks for each layer. I'd like to transfer these layer masks onto a second picture (in a second file, same size). How can I do this? It seems mask to selection and creating a new mask from selection only works within the same picture, but not across files...? Any ideas?

Thanks,
SirDrake
If the layer masks are channels, just select the relevant channel in the Channels dialog and hit File/Save as. You'll get a warning that you are saving a channel, but that's what you are trying to do... To reload, File/Open as layers, and in the Channels dialog, drag any of the RGB channels to the other channels.

_________________
Image


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Fri Oct 21, 2011 9:25 am  (#4) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
saulgoode wrote:
I believe the following comprises the fewest steps:

  • On source image, Copy the layermask.
  • On target image, activate Quickmask
  • Paste
  • Exit Quickmask (the pasted selection will be anchored automatically)
  • Add layermask, initialized from selection


Brilliant! I could hug you for that! Much easier than what I would do...

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Fri Oct 21, 2011 9:55 am  (#5) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6946
Location: Somewhere in GIMP
:ditto That is so cool, saulgoode.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Fri Oct 21, 2011 11:07 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Sep 06, 2011
Posts: 368
Location: US, Ohio
sirdrake wrote:
GIMP Version: 2.6.11
Operating System: Linux
OS Version: Fedora 15
GIMP Experience: Beginner Level



Hi,

I have a picture with several layers and different layer masks for each layer. I'd like to transfer these layer masks onto a second picture (in a second file, same size). How can I do this? It seems mask to selection and creating a new mask from selection only works within the same picture, but not across files...? Any ideas?

Thanks,
SirDrake


would it be easier to just...save a copy of the file and delete the extra things you don't need and then insert the layers you do need? clicking "mask to selection" and transferring a mask from one layer to another would be easier than trying to export a mask IMO.

EDIT---just saw saul's idea...thats pretty clever.


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Mon Oct 24, 2011 2:44 am  (#7) 
Offline
New Member

Joined: Oct 21, 2011
Posts: 2
saulgoode wrote:
I believe the following comprises the fewest steps:

  • On source image, Copy the layermask.
  • On target image, activate Quickmask
  • Paste
  • Exit Quickmask (the pasted selection will be anchored automatically)
  • Add layermask, initialized from selection


Thanks! Quick and easy, worked fine!

SirDrake


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Mon Oct 24, 2011 1:13 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 06, 2011
Posts: 368
Location: US, Ohio
this would be an excellent candidate for a script.


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Sun Jul 14, 2013 2:56 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2769
i would do it this way:

rightclick layermask -> 'Show Layer Mask'
copy
paste on new layermask
anchor


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Sun Jul 14, 2013 3:02 pm  (#10) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16309
Saul don't you have a script to copy and paste layer masks to other layers? :lol

Oh or is that "copy layer mask from above" ?

Found this also - http://slybug.deviantart.com/art/Create ... -324277895

_________________
Image


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Sun Jul 14, 2013 3:54 pm  (#11) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Rod wrote:
Saul don't you have a script to copy and paste layer masks to other layers? :lol

Oh or is that "copy layer mask from above" ?

Found this also - http://slybug.deviantart.com/art/Create ... -324277895

- On "source" layers: Layer/Mask/Mask to selection
- (on other layers): Add layer mask, and init from selection

_________________
Image


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Sun Jul 14, 2013 4:09 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2012
Posts: 949
Location: Mesa, AZ
I would do it the same way Esper does it. Show mask, copy and paste.

_________________
Image

I now have a Tumblr, check it out!


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Sun Jul 14, 2013 8:46 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
I would normally do it the same way as Esper described.

P.S
Where do I find quickmask?

_________________
Image


Top
 Post subject: Re: How to transfer layer mask to a different picture?
PostPosted: Sun Jul 14, 2013 8:52 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2769
he4rty wrote:
P.S
Where do I find quickmask?

in the lower left corner of your canvas, under the ruler, is a small squaure
clicking that, will activate the quickmask

http://docs.gimp.org/en/gimp-image-wind ... utton.html


an interesting quickmask tutorial:
http://www.gimp.org/tutorials/Quickmask/


Top
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group