bugzilla77
-
Posts
5 -
Joined
-
Last visited
Posts posted by bugzilla77
-
-
This topic is about no support for alpha channel in CF_DIB.
This DIB is correct: 40 bytes header and BRGA (1920000 bytes).
PS I know that using PNG format is ok.
-
Yes, I have.
FillFromClipboard 4.4 is also buggy.
Both ignore the alpha channel.
-
In this case (load dices.clp from attachment via InsideClipboard.exe) CF_Bitmap size is zero.
Paint.Net uses CF_DIB. Please check it.
-
1. Copy dices.clp to ClipboardUse NirSoft InsideClipboard.exe and "Load From dices.clp File"2. Create new empty image 800x600px and paste (ctrl+v) image from Clipboard3. There is no transparent background but black!(GIMP works OK)
image from Clipboard problem
in Troubleshooting & Bug Reports
Posted · Edited by bugzilla77
> When loading an image from the clipboard, the order of preference that paint.net uses seems to be:
> 1) (Standard) Bitmap
> 2) DIB
> 3) PNG
This order of preference is no good.
When I set clipboard:
index 1) PNG
index 2) CF_DIB
Paint.NET gets CF_DIB (and incorrectly shows image without alpha channel, even if it present).
The order of items in the clipboard should be respected or better types selected at first (PNG before CF_DIB before CF_BITMAP).
Can you add this logic to base code of Paint.NET (ctrl-v)?