Jump to content

transparency problem 2


skyboy
 Share

Recommended Posts

Accroding to explainig by Rick Brewster, Paint.NET does not use pre-multiplied color values. So, if i understood correctly, information about colors must be saved even if alpha value is 0. Am i mistake?

Whatever i got strange behavior of Paint.NET.

example 1. create new file -> select color (255,0,0,0) -> :PaintBucketTool: -> :ColorPicker: -> got a (0,0,0,0) in result.

example 2(i used cureves+ plugin because did not find any "native" tool to change alpha value). create new file -> select color (255,0,0,5) -> :PaintBucketTool: -> with help of plugin change alpha value of all pixel to 0 -> :ColorPicker: -> got a (255,0,0,0) in result.

i did not understood. AFAIK plugin only changes pixels' color and storing of color information realized by paint.NET core. So can paint.NET handle color such colors as (R,G,B,0) or paint.NET loose information by handling any color with alpha value = 0 as equal?

sorry for grammar.

Link to comment
Share on other sites

one more example.

CTRL + A -> Del -> :ColorPicker: in result we will get #FFFFFF with alpha of 0.

so without plugins' influence we can get (0,0,0,0) and (255,255,255,0) transparent colors and with using plugins we will get any color with alpha value of 0.

so in what way does paint.NET work with transparent chanel? RGBA or RGBX? And if it uses RGBA where are (not-zero, not-zera, not-zero, 0) colors are coming from?

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.

 Share

×
×
  • Create New...