Opacity

View: New views
11 Messages — Rating Filter:   Alert me  

Opacity

by Lap1994 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello. I want to draw a image with a 50% opacity border.
When I change the opacity of the pencil and use it, the selected color and  
the color where I use the pencil, combine itself. I do not want it, I want  
draw a pixel with exact 50% of alpha and the color selected. Like a bitmap  
with a alpha channel.

Do not want: black pixel + %50 opacity, white color = silver
Want: black pixel + %50 opacity, white color = 50% opacity white pixel
--
Check my gallery!
http://lap1994.deviantart.com
_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: Opacity

by Bugzilla from daniel.hornung@gmx.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 16 May 2008, Lap1994 wrote:
> Hello. I want to draw a image with a 50% opacity border.
> When I change the opacity of the pencil and use it, the selected color and
> the color where I use the pencil, combine itself. I do not want it, I want
> draw a pixel with exact 50% of alpha and the color selected. Like a bitmap
> with a alpha channel.
>
> Do not want: black pixel + %50 opacity, white color = silver
> Want: black pixel + %50 opacity, white color = 50% opacity white pixel

Hello!

How about a lyer mask made of white (for the opaque parts) and 50% grey (for
the 50% transparent parts)?

Daniel


_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

signature.asc (204 bytes) Download Attachment

Re: Opacity

by Lap1994 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It will work. But is not a option of a tool, is a way to make it work. For  
me, it will work, but if someone need opacity AND a mask layer? What he  
will do!?

> On Friday 16 May 2008, Lap1994 wrote:
>> Hello. I want to draw a image with a 50% opacity border.
>> When I change the opacity of the pencil and use it, the selected color  
>> and
>> the color where I use the pencil, combine itself. I do not want it, I  
>> want
>> draw a pixel with exact 50% of alpha and the color selected. Like a  
>> bitmap
>> with a alpha channel.
>>
>> Do not want: black pixel + %50 opacity, white color = silver
>> Want: black pixel + %50 opacity, white color = 50% opacity white pixel
>
> Hello!
>
> How about a lyer mask made of white (for the opaque parts) and 50% grey  
> (for
> the 50% transparent parts)?
>
> Daniel



--
Check my gallery!
http://lap1994.deviantart.com
_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: Opacity

by saulgoode-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Lap1994 <Lap1994@...>:

> Hello. I want to draw a image with a 50% opacity border.
> When I change the opacity of the pencil and use it, the selected color and
> the color where I use the pencil, combine itself. I do not want it, I want
> draw a pixel with exact 50% of alpha and the color selected. Like a bitmap
> with a alpha channel.

I can't think of a direct way to do that but it can be accomplished  
with a few extra steps.

* Duplicate your original layer (this will let you see the image as  
you paint).
* Add a black layermask to the duplicate layer.
* Apply the layermask. (The layer will become transparent, but the  
original color data is still there.)
* Choose your paint tool and set the Opacity slider (in the Tool  
Options) to the level of _transparency_ which you desire. If you want  
the border to end up with 20% opacity then set the slider to 80%  
(fifty percent opacity means fifty percent transparency).
* Paint the duplicate layer. (You can toggle the visibility of the  
original layer to see how the semi-transparent result of your painting  
will appear; however, the unpainted regions will not be visible.)
* Add a layermask to the duplicate initialized to "Transfer the  
layer's alpha channel" with the "Invert" box checked.
* Hide or delete your original layer.

_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: Opacity

by buralex :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

saulgoode@... said on May 17, 2008 7:31 -0400 (in part):
I'm not sure why you need the layer masks? Won't the following work a little more simply or does method you suggest do something I've missed ...
1. Create new transparent layer, select it, leaving background visible.
2. Make rectangular selection to leave the border width desired (say 50 pixels) and invert ctrl+I
3. (optional) Select-feather choosing width half border width (say 25 pixels)
4. Select foreground color desired and drag to image. (will leave a solid (optionally feathered) border)
5. Drag opacity slider to 50% or to taste.
6. If "happy" merge visible.
Quoting Lap1994 Lap1994@...:

  
> Hello. I want to draw a image with a 50% opacity border.
> When I change the opacity of the pencil and use it, the selected color and
> the color where I use the pencil, combine itself. I do not want it, I want
> draw a pixel with exact 50% of alpha and the color selected. Like a bitmap
> with a alpha channel.
    

I can't think of a direct way to do that but it can be accomplished  
with a few extra steps.

* Duplicate your original layer (this will let you see the image as  
you paint).
* Add a black layermask to the duplicate layer.
* Apply the layermask. (The layer will become transparent, but the  
original color data is still there.)
* Choose your paint tool and set the Opacity slider (in the Tool  
Options) to the level of _transparency_ which you desire. If you want  
the border to end up with 20% opacity then set the slider to 80%  
(fifty percent opacity means fifty percent transparency).
* Paint the duplicate layer. (You can toggle the visibility of the  
original layer to see how the semi-transparent result of your painting  
will appear; however, the unpainted regions will not be visible.)
* Add a layermask to the duplicate initialized to "Transfer the  
layer's alpha channel" with the "Invert" box checked.
* Hide or delete your original layer.

Regards ... Alec -- buralex-gmail
-- 

_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: Opacity

by Lap1994 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Let make things more simple to understand.

If I draw a %50 opacity white pixel above one black pixel with the pencil  
it becomes silver. But I want the pixel WHITE AND WITH %50 OF OPACITY. I  
simply want to change the alpha when I draw and not how much the color  
change.
_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: Opacity

by Joao S. O. Bueno Calligaris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sunday 18 May 2008, Lap1994 wrote:
> Let make things more simple to understand.
>
> If I draw a %50 opacity white pixel above one black pixel with the
> pencil it becomes silver. But I want the pixel WHITE AND WITH %50
> OF OPACITY. I simply want to change the alpha when I draw and not
> how much the color change.

Let's try a step by step solution so that your chances of mistake are
diminshed:

1) open layers dialog (ctrl + l)
2) right click on layer, select "Add layer mask"
3) on the dialog that apears, choose "White (full opacity)
4) Pick the pencil, black color, choose 50% opacity an start painting
      - you will be cretaing gray colr on the mask, which means your    
        image, at the corresponding pixels, will be translucent. That
       will be depicted  by a gaye checkered pattern you will be able
        to notice in the places you are painting
5) Before saving, click on the layer thumbnail on tehlayers dialog, so
that it becomes the active drawable. Otherwhise, you will be saving
only the mask itself
6) Be sure to save he file ina  file format which accepts
translucency - such as .png (don't try .jpg or .gif)

Happy gimping!

        js
        -><-


> _______________________________________________
> Gimp-user mailing list
> Gimp-user@...
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: Opacity

by Lap1994 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmm... There is no button to do this? Only ways using features that are  
not made exactly for it? Developers read this mail list? Can I suggest  
this? A simple toogle box that change mix opacity to exact opacity. Well,  
in that case. I will use masks, hope any developer read this.

> On Sunday 18 May 2008, Lap1994 wrote:
>> Let make things more simple to understand.
>>
>> If I draw a %50 opacity white pixel above one black pixel with the
>> pencil it becomes silver. But I want the pixel WHITE AND WITH %50
>> OF OPACITY. I simply want to change the alpha when I draw and not
>> how much the color change.
>
> Let's try a step by step solution so that your chances of mistake are
> diminshed:
>
> 1) open layers dialog (ctrl + l)
> 2) right click on layer, select "Add layer mask"
> 3) on the dialog that apears, choose "White (full opacity)
> 4) Pick the pencil, black color, choose 50% opacity an start painting
>       - you will be cretaing gray colr on the mask, which means your
>         image, at the corresponding pixels, will be translucent. That
>        will be depicted  by a gaye checkered pattern you will be able
>         to notice in the places you are painting
> 5) Before saving, click on the layer thumbnail on tehlayers dialog, so
> that it becomes the active drawable. Otherwhise, you will be saving
> only the mask itself
> 6) Be sure to save he file ina  file format which accepts
> translucency - such as .png (don't try .jpg or .gif)
>
> Happy gimping!
>
> js
> -><-
>
>
>> _______________________________________________
>> Gimp-user mailing list
>> Gimp-user@...
>> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
>
>
> _______________________________________________
> Gimp-user mailing list
> Gimp-user@...
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
>



--
Check my gallery!
http://lap1994.deviantart.com
_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: Opacity

by Michael Schumacher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Von: Lap1994 <Lap1994@...>

> Hmm... There is no button to do this? Only ways using features that are  
> not made exactly for it? Developers read this mail list? Can I suggest  
> this? A simple toogle box that change mix opacity to exact opacity.

What exactly do you use this for?


Michael
--
249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro.
Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de
_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: Opacity

by Pere Pujal i Carabantes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

El dg 18 de 05 de 2008 a les 23:03 -0300, en/na Lap1994 va escriure:
> Let make things more simple to understand.
>
> If I draw a %50 opacity white pixel above one black pixel with the pencil  
> it becomes silver. But I want the pixel WHITE AND WITH %50 OF OPACITY. I  
> simply want to change the alpha when I draw and not how much the color  
> change.

Starting from one layer:

Add a new transparent layer.

Set the transparency to 50% in the tool options, not in the layer
options.

Draw on this layer the things you want, when finished, select by color
transparent on this layer (threesold 0), invert the selection.

Go to the original layer, cut, then flat the layers.



Hope this helps
Pere

_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: Opacity

by Lap1994 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Em Mon, 19 May 2008 18:20:55 -0300, Pere Pujal i Carabantes  
<pere@...> escreveu:

> El dg 18 de 05 de 2008 a les 23:03 -0300, en/na Lap1994 va escriure:
>> Let make things more simple to understand.
>>
>> If I draw a %50 opacity white pixel above one black pixel with the  
>> pencil
>> it becomes silver. But I want the pixel WHITE AND WITH %50 OF OPACITY. I
>> simply want to change the alpha when I draw and not how much the color
>> change.
>
> Starting from one layer:
>
> Add a new transparent layer.
>
> Set the transparency to 50% in the tool options, not in the layer
> options.
>
> Draw on this layer the things you want, when finished, select by color
> transparent on this layer (threesold 0), invert the selection.
>
> Go to the original layer, cut, then flat the layers.
>
>
>
> Hope this helps
> Pere
>
> _______________________________________________
> Gimp-user mailing list
> Gimp-user@...
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
>



--
Check my gallery!
http://lap1994.deviantart.com
_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user