Jump to content

Why do you get different drawing results?


Recommended Posts

Welcome to the forum @Nikolaich



 

2 hours ago, Nikolaich said:

Why are the results different?


On the left is a black ellipse drawn with an opacity (alpha) of 70 on a layer with opacity of 255.

On the right is a black ellipse drawn with an opacity (alpha) of 255 on a layer with opacity of 70.


Alpha.png



I may have misunderstood what you are asking. Could you show us the differences you are seeing please?

 

Link to comment
Share on other sites

I apologize, I didn't see the possibility to attach a picture. I'll show you an example.

On the left is drawn an ellipse of white color with alpha channel = 70 and the layer is set to transparency 255.

On the right, a white ellipse is drawn with alpha channel = 255 and the layer is set to transparency 70.

See what I'm talking about? It looks like the right ellipse has antialiasing applied, but the left ellipse does not.

EllipseDemo.png

Link to comment
Share on other sites

Why did the forum reduce the image for me? Now it can only be viewed normally at 5x magnification. :(

I apologize, I misnamed the tool. I was talking about the ellipse gradient. My mistake.

Edited by Nikolaich
Link to comment
Share on other sites

The gradient tool uses dithering to reduce the amount of color banding. The closer the colors are to each other, the more intense the dithering becomes and alpha counts as well, so alpha 255 to alpha 0 are maximally far from each other, but alpha 70 and 0 are much closer and get dithered harder.

 

When you change layer opacity, there is no dithering, and you get the banding instead. Here's a synthetic comparison: top part is a gradient from RGBA 255, 255, 255, 31 to 0, 0, 0, 0, on a black background. The bottom part is a RGBA 255, 255, 255, 255 to 0, 0, 0, 0, with layer opacity set to 31. After merging the layers, the visibility was boosted with the levels tool to bring the 31, 31, 31 to 255, 255, 255.

 

image.png.202e7273e8c2eface8ba162a18903f4f.png

As you can see, the banding is intense on the bottom one, whereas the top one is very fuzzy but you can't really tell the banding. It's a tradeoff and you kind of just have to choose which is preferable for your use.

  • Upvote 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...