Jump to content

What am I doing wrong here? (PNG transparency)


Recommended Posts

Windows 7 x64. Probably have all .NET versions by now (including .NET 4.0).

Not sure exactly which version started doing this, but now I tried both 3.5.4 and 3.5.5. Both versions destroy the transparency, filling in white where it should be transparent.

Please fix this as soon as possible. I'll look through my archives and see if I can get it to save PNG files properly using an older version.

Steps to reproduce:

1) Fill an image with black and delete a portion (e.g. making it transparent).

2) Save it as PNG 24-bit. The image still looks good.

3) Now close the image and reopen it. The transparent part is white.

Link to comment
Share on other sites

Link to comment
Share on other sites

24-bit does not support transparency. You can see this in the Save Configuration Dialog.

If you don't specifically need to specify bittedness when saving as PNG, you should always choose Auto-detect, which will determine the best format based on your image.

If you do need to specify bittedness, you should make the effort to understand what it means before claiming limitations of certain formats as a bug.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

Maybe 24-bit doesn't preserve transparency?

"Maybe" ?

32-bit includes 8-bits each for red, green, blue, and alpha.

Guess which 8-bits are dropped with 24-bit mode. You get 1 guess.

I'm going to change the title of this thread to be less uninformed. Sheesh.

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

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