mirror of
https://github.com/greenshot/greenshot
synced 2025-07-15 01:23:47 -07:00
Fixed and optimized some drawing routines, still didn't find a solution for shadowing when target format has transparency.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1648 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
46758d238c
commit
dede5cf292
16 changed files with 275 additions and 161 deletions
|
@ -129,7 +129,7 @@ namespace GreenshotNetworkImportPlugin {
|
|||
// Convert byte[] to Image
|
||||
memoryStream.Write(imageBytes, 0, imageBytes.Length);
|
||||
using (Image image = Bitmap.FromStream(memoryStream, true)) {
|
||||
ICapture capture = host.GetCapture(ImageHelper.CloneImageToBitmap(image));
|
||||
ICapture capture = host.GetCapture(ImageHelper.Clone(image));
|
||||
capture.CaptureDetails.Title = title;
|
||||
host.ImportCapture(capture);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue