Robin Krom
4a958be8b5
This should fix most icon scaling issues
...
Improved the IniReader a bit and replaced some old code.
2020-02-11 22:41:55 +01:00
Krom, Robertus
57e2044839
Making the initial stuff working, getting an installer, when running from VS.
2020-02-04 15:29:10 +01:00
Robin
f2f37700b3
FEATURE-863: Trying to get it working in 1.2.9
2016-11-21 23:47:10 +01:00
Robin
610f45d082
Code quality changes
2016-09-22 20:40:13 +02:00
Robin
6efc7796b8
BUG-1908: Made Greenshot recheck & add the external commands like Ms-Paint and Paint.NET if they are not deleted manually and not yet available. Also cleaned up some code.
2016-09-16 21:48:57 +02:00
Robin
7c7fd67b2a
Added LinqBridge and did some code cleanup.
2016-09-05 23:37:40 +02:00
Robin
fc192827f1
Made the supported image formats extendable, and supplied a SVG implementation right away with the jira addon.
2016-09-05 22:48:23 +02:00
Robin
1294036a56
Fixed copyright for this year.
2016-08-17 14:38:41 +02:00
Robin
798ca503a5
Code quality changes [skip ci]
2016-08-16 10:37:55 +02:00
Robin
9bee8290a0
FEATURE-916: Added some support for .ico files when writing, this will currently only write 256x256 .ico files!!! These files are not supported by Windows XP and older!
2016-05-25 22:56:01 +02:00
Robin
0323705513
Merge remote-tracking branch 'remotes/origin/master' into release/1.2.9
2016-05-24 13:15:16 +02:00
Robin
98e6be5eb6
Small cleanups [skip ci]
2016-04-17 23:32:22 +02:00
jklingen
e409392f32
Revert "Revert "Removed most references to SF""
2016-03-24 23:04:47 +01:00
jklingen
2599ff5b7c
Revert "Removed most references to SF"
2016-03-24 22:54:16 +01:00
Robin
fe176a2da4
Removed most references to Sourceforge, need to check with a file-searcher if something is left. P.S. The help files still have references...
2016-03-23 16:54:57 +01:00
Robin
ec5930ed41
Updated Copyright notice
2015-03-13 10:31:52 +01:00
RKrom
089eec769e
This fixes a bug in the resize logic, the colors of the edges were not calculated correctly by GDI. Also added some additional dispose calls.
2014-11-30 22:06:35 +01:00
RKrom
9df25bdd76
FEATURE-758: This commit enhances the already made changes to also fix the size of the icons in the destination picker and the context menu. On top of that, if a large icon size is selected we try to get a larger (more defined) icon from the application unfortunately that doesn't improve the build in icons.
2014-11-05 12:38:01 +01:00
RKrom
8c22a44b33
Added "no shadow" for the Torn-Edge effect, also fixed some tear bugs (hopefully) and simplified the code.
2014-06-12 13:43:42 +02:00
RKrom
2220f41122
Fixed potential issue when multiple effects are used after each other.
2014-06-02 10:53:18 +02:00
RKrom
aced477cef
Made resize work, cleaned up code so it should be easier to port the changes to 2.x
2014-06-01 20:25:52 +02:00
RKrom
2f20c0820c
Trying to solve the problem that effects don't change the elements, except for the offset, by using a Matrix and than later transforming the elements. This is just the start of an idea, if this leads to nothing we can "git revert" the commit(s)...
2014-05-30 16:44:27 +02:00
RKrom
b37ed3562d
Added icons for the new tools, also changed some of the logic so it is possible to show the number of the next "label" in the tool button.
2014-05-28 09:35:08 +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
RKrom
63ecb20f9e
Fix for losing EXIF and other information, eventually causing the image to be incorrectly rotated.
2014-02-07 10:23:17 +01: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
8943549eaf
Added Blur-delegate, this makes it possible to supply a quicker implementation of a blur from a plug-in... kinda hackish...
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2537 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-27 16:49:40 +00:00
RKrom
5018f67ff7
Optimizing: Replaced BitmapBuffer with FastBitmap, also changed some filters to use more GDI "hardware" instead of home-made pixel processing. Only on Windows 8 the blur is "slow", when radius < 20.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2531 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-11 16:44:34 +00:00
RKrom
b7b89ade04
cleanup & small fixes. Added some more IBinaryContainer implementations which are used by plugins which aren't rolled out yet. (but I didn't want to loose the code)
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2524 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-07 10:08:57 +00:00
RKrom
3361873fe7
Cleanup of ColorMatrix & ImageAttribute code usage
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2514 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-05 12:07:48 +00:00
RKrom
8b5578ea2c
Fixed compilation issues on new code which isn't checked in by refactoring the ApplyBlur method. This was needed anyway, as it doesn't return a new bitmap!
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2513 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-01 09:19:01 +00: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
2d6b58f722
Small fix for compositing mode and a log statement.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2511 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-27 17:22:43 +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
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
JKlingen
b537ae7e14
added monochrome print option
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2491 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-17 07:58:58 +00:00
RKrom
3f4d93f2b6
Fixed an issue with the FastBitmap, renamed methods in the BitmapBuffer to be equal to the FastBitmap implementation. In general it's now very easy to switch from the BitmapBuffer to the FastBitmap implementation, but one should consider that the BitmapBuffer checks the x,y if they are inside... and supports a "apply rectangle". Had to "refactor" the CreateBlur for this. Changed the CreateShadow to work with the BoxBlur, this changes the time to create a shadow of a 1280x1024 from ~2.6 to ~1.2 seconds on my PC... which is still slow. The resulting effect seems to be extremely similar... good enough for me.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2480 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-12 16:36:09 +00:00
RKrom
e2be04a552
Code cleanup: 1) AbstractFilter: why did we serialize the bitmapbuffer? 2) Bitmapbuffer: removed serialization code, this object should NEVER be serialized as it's just a view which makes access faster. 3) QuantizerHelper.cs: Refactored to use the FastBitmap
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2474 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-10 14:40:01 +00:00
RKrom
f0b1f1f84d
Added ReduceColorEffect (using the WuQuantizer in the effect). Changed the way the ApplyEffect works, an effect might decide to do nothing and return null.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2471 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-08 16:01:19 +00:00
RKrom
8f36064131
Forgot gamma...
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2470 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-07 13:23:32 +00:00
RKrom
a2fb7bf322
Added "Adjust" to the ImageHelper, this can change the brightness, contrast and gamma.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2469 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-07 13:19:01 +00:00
JKlingen
b692674f38
added CreateMonochrome(Image), which creates a black/white version of the image (not accessible via UI yet, needs some more testing)
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2466 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-06 22:11:21 +00:00
RKrom
2730ac5540
Fix for bug 1444, the WuQuantizer doesn't work if the colors are already less than 256 so we just create a 8bpp image from the source.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2451 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-01 16:18:48 +00:00
JKlingen
c777878bd7
updated copyright notice for 2013
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2436 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-20 20:18:49 +00:00
RKrom
42011d2588
Fixed the bug reported here: https://sourceforge.net/projects/greenshot/forums/forum/676082/topic/6510105/index/page/1
...
The resizing didn't work, after the resizing was fixed the OCR didn't work and I had to change to resize the canvas... now it seems to be working again.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2410 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-05 23:55:36 +00:00
RKrom
f627ce5dd0
Changed code for the Clipboard and changed a lot of "Bitmap" code to work on images, this might give problems but if these are solved we have better support for MetaFiles. This made it possible to remove the MetafileContainer, which is replaced by the ImageContainer (which is the BitmapContainer modified). The clipboard code now knows more ways to load images from the clipboard!
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2398 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-20 12:33:17 +00:00
RKrom
a57fa7086f
Disabled compiling of unused code for the 1.1 release
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2387 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 11:03:23 +00:00
RKrom
38de4875e0
Added settings forms for DropShadowEffect & TornEdgeEffect
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2380 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 12:13:33 +00:00
RKrom
0c7e16a771
Applied my "patch" which refactors the complete codebase to have IEffect support, this is an interface which can be used to supply effects to a bitmap. These effects can now be passed to the OutputSettings (which now is called SurfaceOutputSettings) to control how the output is modified. This is very useful for e.g. OCR which needs a grayscale & resized image.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2377 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 09:51:41 +00:00