mirror of
https://github.com/greenshot/greenshot
synced 2025-07-14 09:03:44 -07:00
Fixed shadow with transparency issue.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2095 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
9488200886
commit
d8cb00e70c
4 changed files with 49 additions and 51 deletions
|
@ -422,6 +422,7 @@ namespace GreenshotPlugin.Core {
|
|||
// aIndex is only set if the pixel format supports "A".
|
||||
aIndex = -1;
|
||||
switch(bitmap.PixelFormat) {
|
||||
case PixelFormat.Format32bppPArgb:
|
||||
case PixelFormat.Format32bppArgb:
|
||||
bIndex = 0;
|
||||
gIndex = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue