Copying a layer mask between images

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Copying a layer mask between images

It's easy to copy a layer to another image:


But I cannot find an equivalent call for a Mask/Channel:

     - gimp_create_mask() won't take an existing mask, just an existing
Channel (and since it's another image I cannot even use the selection)

     - gimp_channel_new() creates n empty channel

     - gim_channel_new_from_component() only tales an image component

As far as I can tell the only way would be create an empty mask and
copy/paste? Am I missing something ? Is there a smarter way?

gimp-developer-list mailing list
List address:    [hidden email]
List membership:
List archives: