Sign in to follow this  
Alex95

Linear Gradient - unexpected noise

Recommended Posts

Hi,

 

Tool Linear Gradient: no repeat, color mode, antialiasing enabled, normal blending.

primary color - white - alpha is zero

secondary - white alpha - 100%

 

Original image:

post-135365-0-76614800-1400774240_thumb.

 

Gradient from left to white. In the middle of image.

( I used Ctrl key in order to create horizontal gradient).

post-135365-0-85064200-1400774350_thumb.

 

Looks fine, however, right part is not solid white.There are a lot of non white dots, especially in the right bottom.  Pixels can be RGB(255,255,254) or even RGB(252,252,253).

I can imagine that 254 may be caused by rounding errors, but 252 is very strange.

 

Not sure how this tool works in 3.5, but I think it was fine. I quite often use Magic Wand with zero tolerance in order to select white areas and never had problems.

Now this tool does not work after gradient in my case.

 

In gimp this tool works as expected.

 

 

Thanks,

Alex

Share this post


Link to post
Share on other sites

This may be a case where the R,G,and B values of a pixel are "undefined" when alpha is 0.

Share this post


Link to post
Share on other sites

No, I still think gradient does not work properly. But suggestion may help to do what I need.

See another image. This was screenshot of Paint.Net itself.

post-135365-0-89936500-1400792426_thumb.

 

I've tried horizontal linear gradient. From RGBA(255,255,255,0) to RGBA(255,255,255,255). Start , End are shown on screenshot.

1. Left part is not affected by gradient - this is fine, alpha is zero.

2. Middle part - I see some noise on screenshot, not sure is this right or not - probably you are trying to achieve better quality and avoid vertical lines. If yes, I'm fine with that. Looks good.

3. Right part - should be fully white, without noise. This is what I expect.

Open this image in Paint.Net, zoom and check area where the status bar was. Colors there are in range from 253 to 255. In rest parts colors jumping from 254 to 255.

 

Share this post


Link to post
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.

Sign in to follow this