mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Added support of another clipboard format "CF_DIBV5" (aka Format17) to Greenshot, this will improve the result for "Open image from clipboard" and the drag&drop actions. Without Format17 these actions still work, but sometimes the transparency is lost as the other formats on the clipboard don't have this information. Greenshot can also write the new format, when enabled in the expert settings. Currently I haven't seen a reason to enable it yet, but due to the complexity of the clipboard and the amount of possible applications maybe an application does work better...
This commit is contained in:
parent
6ddb16e0b1
commit
1ff27810db
5 changed files with 302 additions and 162 deletions
|
@ -29,7 +29,7 @@ using System.Reflection;
|
|||
|
||||
namespace GreenshotPlugin.Core {
|
||||
public enum ClipboardFormat {
|
||||
PNG, DIB, HTML, HTMLDATAURL, BITMAP
|
||||
PNG, DIB, HTML, HTMLDATAURL, BITMAP, DIBV5
|
||||
}
|
||||
public enum OutputFormat {
|
||||
bmp, gif, jpg, png, tiff, greenshot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue