ral42 Posted March 21, 2012 Share Posted March 21, 2012 (I'm making a new thread since I inadvertently broke the rules by continuing one from 8 months ago. My apologies. If anyone wants to see my original more detailed post, go here.) Back in July 2011, the following was written on this forum to someone trying to get an image with transparency out of Paint.NET via the clipboard: The bitmap data (DIB) that Paint.NET copies should be stored in PBGRA format (premultiplied alpha), even though DIB doesn't allow you to specify anything about how the alpha channel is encoded. You simply need to divide each color component by the alpha value. There will be a loss of precision, but it will give you transparency you need. However, my own experiments indicate this is not how Paint.NET functions. When copying an image to the clipboard, Paint.NET only puts the real alpha data in its own proprietary clipboard format ("PaintDotNet.MaskedSurface"). All other formats that it provides on the clipboard do not contain real alpha data; only 0xFF (solid / opaque). As a result, it seems to be impossible to copy and paste an image from Paint.NET into any other piece of software while retaining alpha in the image. Is this a bug or the intended behavior? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.