Commit graph

14 commits

Author SHA1 Message Date
Robin
a5cabb2ced BUG-2093: Fixed check if the Windows GDI blur can be used. 2017-01-13 20:54:16 +01:00
Robin
a9a745a439 This is a quick Imgur fix, and reducing the amount of traffic. 2016-11-03 21:51:27 +01:00
Robin
ec5930ed41 Updated Copyright notice 2015-03-13 10:31:52 +01:00
RKrom
aad04bc9d7 Fixes for CharSet marshaling, this caused problems with the IE Capturing. 2014-06-20 17:30:55 +02:00
RKrom
77a92d98c3 Code quality changes, and added the possibility to set the amount of colors for the Quantizer. 2014-05-11 16:31:04 +02:00
JKlingen
8c4eef8e2b Updated copyright notice for 2014 2014-01-08 21:30:56 +01:00
RKrom
a03bc31aef Creating a branch 1.1 where I will try to make the 1.1.7 build available, this means I need to merge some changes from 2.0 to here. 2013-12-04 17:46:02 +01:00
RKrom
d039af3640 Did a compare on the shadow code, with and without GDI. Wasn't happy with the difference, so I made sure they are equal (as far as I can see).
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2512 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-01 08:49:30 +00:00
RKrom
ec5840550a Cleanup, and fixed a bug in the CloneArea method of the ImageHelper.cs
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2506 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-22 16:27:55 +00:00
RKrom
b3ea27ef6e Fixed compile error, forgot parameter
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2497 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-17 10:51:11 +00:00
RKrom
0989012a37 Did some performance improvements for the CreateShadow, without using our Gaussian (is still available) this saves a temporarily additional bitmap copy. On Vista/Windows 7 GDI+ is used, on other systems a fall-back with BoxBlur is used.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2496 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-17 10:00:40 +00:00
RKrom
9d1b0e5dc4 Added DrawWithBlur to the GDIplus. P.S. all blur logic seems to be broken on Windows 8 when having a radius < 20
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2495 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-17 09:51:59 +00:00
RKrom
9f86db6828 Improved "speed" of the ApplyBlur by using "static final readonly" for the FieldInfo to get the private field and improved stability by using finally to cleanup. (as it should be)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2490 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-15 13:35:15 +00:00
RKrom
0408c755d6 Added GDIplus.cs, this contains a GDI+ wrapper. Currently there is the ApplyBlur which applies a Gaussian blur effect on the specified rectangle of the passed bitmap.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2489 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-15 12:34:28 +00:00