Jump to content

Transparency scaling oddity


Recommended Posts

So? The pixels are transparent. All color values with alpha=0 are equivalent. It could be 00BEEF00 and it would be fine. The mathematics involved actually require it to be 00000000.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Open a new image and delete everything (Select All -> Erase Selection). Now, select all again and transform it with Move Selected Pixels. The transparency in the selection will change from FFFFFF with 0 alpha to 000000 with 0 alpha (use the Color Picker).

Remember this: When alpha is 0, the R, G, and B values are undefined. That means the the system is free to modify them as it sees fit in order to simplify its work.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

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...