It is currently Mon Sep 07, 2026 5:18 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: How copy a layer as layer mask
PostPosted: Wed Feb 29, 2012 6:35 pm  (#21) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Aha! Although the graphics on your top layer are text, it is not a "text layer" in that the text information has been discarded (note the difference between the thumbnail of your "Gimp" layer and mine). Once the text attributes of a layer have been discarded, my script treats it as a normal layer wherein transparency gets converted to black in the resulting mask.

The script could be used by first creating a mask on your "Gimp" layer initialized to its alpha channel, but it is probably just as easy if not easier to use the stock GIMP approach of alpha-selecting the "Gimp" layer and then adding a mask to your base layer initialized to that selection.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: How copy a layer as layer mask
PostPosted: Wed Feb 29, 2012 7:28 pm  (#22) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
Thats wright Saulgoode ,I was being lazy and used a short script I had for creating text on a backgound, so I am sorry for any delema I might have caused :oops:

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: How copy a layer as layer mask
PostPosted: Thu Mar 22, 2012 1:38 pm  (#23) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
:bump Bump !

I think we should modify the topic title and move everything the script board !

I think so because contain useful script that as now would be hard to find !
i am sure would be hard to find because even if was a my request for me was hard to trace back this pages
(i searched well in the script board but i didn't think could be in this board for long...)

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Last edited by PhotoComix on Thu Mar 22, 2012 1:46 pm, edited 2 times in total.

Top
 Post subject: Re: How copy a layer as layer mask
PostPosted: Thu Mar 22, 2012 1:40 pm  (#24) 
Offline
GimpChat Member
User avatar

Joined: Sep 06, 2011
Posts: 368
Location: US, Ohio
This is fantastic...absolutely fantastic.


Top
 Post subject: Re: [SOLVED] I need a script to convert a layer in a layer mask
PostPosted: Thu Mar 22, 2012 8:39 pm  (#25) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
Moved to Gimp Scripts and Plugins per request by PC. :)

_________________
Image


Top
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group