Jump to content

Saving image with transparency as PNG, but losing the transparency


AMeador1

Recommended Posts

I have a Paint.Net (v4.2.16) pdn file with my logo. It is a single layer where the background is all transparent (checkerboard pattern). I have previously saved it as varying png files that have maintained their tranparent backgrounds fine. But now I just edited the pdn and did Save As...png image type - but the background is being changed from transparent to white in the output png file.

 

Am I missing something here? Why is this happening - is there some setting impacting this?

 

Thanks!

Link to comment
Share on other sites

I just figured it out! It was trying to save as 24bit by default - and that seems to be causing it to lose its transparency. Saving as 32bit is maintaining the transparency!

  • Like 1
Link to comment
Share on other sites

That's right. 24 bits is 8 bits for each of the RGB channels & no Alpha. 32 bits is 8 bits for each RGB+Alpha channel.

 

You're generally best to use Auto-Detect rather than setting the bit depth - for exactly this reason. Auto-Detect chooses the best match for the image.

  • Thanks 1
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...