Commit Graph

  • 94c0f1064f Making capture more stable for #1475 RKrom 2013-03-13 16:56:57 +00:00
  • 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. RKrom 2013-03-11 16:44:34 +00:00
  • ea20ead07e Removed a Image-cloning call which wasn't needed. RKrom 2013-03-11 11:50:52 +00:00
  • f8fec5ebe0 Fix for [#1462] where the filename is wrongly cropped. RKrom 2013-03-08 21:04:53 +00:00
  • 733adc99e4 Fixed #1474, CropContainer wasn't cleaned up correctly. RKrom 2013-03-08 20:45:40 +00:00
  • 25c7e56c31 Fixed a bug when cropping a large image which was scrolled, we didn't consider the scrolling offset. RKrom 2013-03-08 11:18:49 +00:00
  • c2639a1bc7 Fix for #1470, preventing Exception pop-up (showing a message instead) and using fall-back if the last location is no longer available. RKrom 2013-03-07 11:20:36 +00:00
  • 51e57b8943 Fix for #1470, preventing Exception pop-up (showing a message instead) and using fall-back if the last location is no longer available. RKrom 2013-03-07 11:17:20 +00:00
  • 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) RKrom 2013-03-07 10:08:57 +00:00
  • 623fa983c3 translation updates + new plugin translations for traditional chinese, provided by fei JKlingen 2013-03-06 21:18:01 +00:00
  • 9e9e32597c updated for ukrainian translation, provided by Олександр (6c6c6) JKlingen 2013-03-06 21:12:37 +00:00
  • c9d7937a6b updates for russian translation, provided by Andrey Kravtsov JKlingen 2013-03-06 21:08:56 +00:00
  • 429d5d0447 Another update for French translation by thierry :) JKlingen 2013-03-06 21:00:25 +00:00
  • 7a7bfb6c80 Update for french translation, by thierry JKlingen 2013-03-06 20:57:04 +00:00
  • ae473fcd4c update for greek translation, by geoskoun JKlingen 2013-03-06 20:46:31 +00:00
  • 005c3c39af Fixed [#1469] by checking if there are grippers. RKrom 2013-03-06 19:32:05 +00:00
  • 1057d5f23a Fixed [#1469] by checking if there are grippers. RKrom 2013-03-06 19:31:07 +00:00
  • 15605cee62 Somehow Jens' last change on this file broke the build.bat. I only rolled back the 1 needed slash. RKrom 2013-03-05 21:42:06 +00:00
  • 3361873fe7 Cleanup of ColorMatrix & ImageAttribute code usage RKrom 2013-03-05 12:07:48 +00:00
  • 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! RKrom 2013-03-01 09:19:01 +00:00
  • 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). RKrom 2013-03-01 08:49:30 +00:00
  • 2d6b58f722 Small fix for compositing mode and a log statement. RKrom 2013-02-27 17:22:43 +00:00
  • 2c1a56e868 Added title in Imgur upload as optional to the configuration RKrom 2013-02-27 17:19:52 +00:00
  • 565bf262db Added alpha-blending to the Quantizer, otherwise the colors would be counted wrong and look like sh*t. RKrom 2013-02-27 17:17:31 +00:00
  • e5ee2c3711 Removed a pre-build "rmdir", this removed the plugins but forces to do a complete rebuild every single time! RKrom 2013-02-27 16:44:58 +00:00
  • c3966923e4 Fixed shadow and fixed a problem that alpha-channel bitmaps should NOT be reduced to 8-bit if not forced! (Still need to fix alpha-channel color reduction!) Removed a pre-build "rmdir", this removed the plugins but forces to do a complete rebuild every single time! RKrom 2013-02-27 16:44:21 +00:00
  • ec5840550a Cleanup, and fixed a bug in the CloneArea method of the ImageHelper.cs RKrom 2013-02-22 16:27:55 +00:00
  • 652ca64e9f Preventing that the Photobucket login is shown while using the Dynamic-Destination picker "mouse-over". RKrom 2013-02-20 12:02:37 +00:00
  • 9850096c3b Fixed an issue where the destination picker is displayed while we are already in the destination. This is done by storing the value of the clicked item in the ContextMenuStrip.Tag property, if this is null the user didn't click on the menu but somewhere else and we cancel the close... if the value is set, the user clicked on the menu and the close is allowed. RKrom 2013-02-20 09:45:34 +00:00
  • 0e86fa409c Removed surface disposing, and making sure the PrintHelper itself is disposed correctly. Disposing the surface is not allowed in a destination, e.g. this would rip the surface away right from under the editor :) RKrom 2013-02-20 09:16:28 +00:00
  • d1e3560f9c Fixed compile error. RKrom 2013-02-18 08:37:34 +00:00
  • eea9ba6e9e Found some HORRIBLE code, which I used from a blog, where the writer was casting IntPtr's to ints and using it as a pointer. This can (logically) cause huge problems on 64-bit systems! RKrom 2013-02-17 18:13:10 +00:00
  • 2e529d7d32 changed default print options (rotate and enlarge are no longer selected by default) JKlingen 2013-02-17 14:05:22 +00:00
  • 4d2c01b96a print color settings are now configured using radio buttons instead of checkboxes JKlingen 2013-02-17 13:54:34 +00:00
  • ebad49261d added GreenshotRadioButton JKlingen 2013-02-17 13:49:35 +00:00
  • b3ea27ef6e Fixed compile error, forgot parameter RKrom 2013-02-17 10:51:11 +00:00
  • 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. RKrom 2013-02-17 10:00:40 +00:00
  • 9d1b0e5dc4 Added DrawWithBlur to the GDIplus. P.S. all blur logic seems to be broken on Windows 8 when having a radius < 20 RKrom 2013-02-17 09:51:59 +00:00
  • 203479ee4d Fixed Bitblt wrapper, the wrong parameters were used. (P.S. On Windows 8 the bitblt seems slower than a normal DrawImage) RKrom 2013-02-17 09:49:42 +00:00
  • 7d36803fbe fixed NullReference when cancelling print destination (has been trying to dispose grippers that did not exist) JKlingen 2013-02-17 09:26:21 +00:00
  • a25706079d UI improvements for print options JKlingen 2013-02-17 08:53:25 +00:00
  • b537ae7e14 added monochrome print option JKlingen 2013-02-17 07:58:58 +00:00
  • 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) RKrom 2013-02-15 13:35:15 +00:00
  • 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. RKrom 2013-02-15 12:34:28 +00:00
  • 2b4df68c1f Fixed MAPI Recipient properties RKrom 2013-02-14 08:15:11 +00:00
  • 442a978d13 Added a recover when the MAPI Recipient are wrong. RKrom 2013-02-14 06:53:15 +00:00
  • 8980a505b1 Changed the EmailDestination to work if Outlook is installed as MAPI client but the Outlook plugin is not installed. Also made some progress on the MAPI Recipient properties, but this still doesn't work. RKrom 2013-02-14 06:43:40 +00:00
  • c188ad10e8 Added Mail To, CC and BCC for MAPI RKrom 2013-02-13 21:23:38 +00:00
  • d77d4d9ddf Added the area (Rectangle) to the FastBitmap, this made it possible to convert the current filters (all but the BlurFilter, this I want to review). Still want to see if I can change the way the filters work, maybe I can prevent some extra bitmap actions by changing the flow & signatures... Need to start in DrawableContainer.DrawContent. RKrom 2013-02-13 16:28:12 +00:00
  • 5ffe3dfb42 Cleanup for code-analyses 2nd phase RKrom 2013-02-13 11:45:51 +00:00
  • 157cace477 Disposing the "G" bitmap of the AboutForm RKrom 2013-02-12 21:17:28 +00:00
  • a394904aa3 First code analysis changes, this "should" make Greenshot more stable and implement things as is supposed. RKrom 2013-02-12 18:43:56 +00:00
  • 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. RKrom 2013-02-12 16:36:09 +00:00
  • c9e1ef30e4 Made the post build event on BoxPlugin always run, so the credentials files are back where they belong. Also removed the app.config as it's not needed for a DLL... RKrom 2013-02-12 07:02:19 +00:00
  • 3becf11cfd Fix for VS-Express 2012 RKrom 2013-02-11 22:06:34 +00:00
  • 965676cc3a removed abundant backslashes after $(SolutionDir) and $(ProjectDir), since the duplicate backslashes caused build event errors with SharpDevelop JKlingen 2013-02-11 19:37:52 +00:00
  • 4a1655eff2 Removed an unneeded clone, which I found while fixing a problem with copying images FROM an Outlook mail. The problem is that PNG is on the clipboard, but this image is cropped! Taking the Dib format solved the issue... RKrom 2013-02-11 16:33:52 +00:00
  • d7abc8ce93 Fixed another object which serialized something it shouldn't. RKrom 2013-02-10 14:42:32 +00:00
  • 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 RKrom 2013-02-10 14:40:01 +00:00
  • f34923e0d7 Added the FastBitmap.cs, this should replace the BitmapBuffer sometime. The advantage of using this, it has fast implementations for accessing certain PixelFormats directly and doesn't need to generalize the code which would make it slower. RKrom 2013-02-10 14:16:57 +00:00
  • 764cba9af7 Added better 8 bit support, although the caller needs to call the right method... Maybe I can use indirect functions to speed this up? Changed the Quantizer to reflect the changes. RKrom 2013-02-10 07:58:22 +00:00
  • 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. RKrom 2013-02-08 16:01:19 +00:00
  • 8f36064131 Forgot gamma... RKrom 2013-02-07 13:23:32 +00:00
  • a2fb7bf322 Added "Adjust" to the ImageHelper, this can change the brightness, contrast and gamma. RKrom 2013-02-07 13:19:01 +00:00
  • 7573373a5d Moved check for OutputPrintInverted & the conversion from the PrintHelper to the PrinterDestination, this way it's all on one location. RKrom 2013-02-07 09:31:15 +00:00
  • 360c4d45c7 Added monochrome effect and placeholders in the PrinterDestination, so Jens can fill in the blanks... :) RKrom 2013-02-07 09:10:20 +00:00
  • b692674f38 added CreateMonochrome(Image), which creates a black/white version of the image (not accessible via UI yet, needs some more testing) JKlingen 2013-02-06 22:11:21 +00:00
  • 190578953c Added a link to a Microsoft support link for Bug [#1420] in the exception, might still be good if we can change the bug for so it is more clear what can be done... RKrom 2013-02-06 13:15:13 +00:00
  • 351e4f96d4 Hopefully this should fix bug [#1440], as we don't have real data and we can't reproduce this it's a bit of a shot in the dark. But I am sure that how it was before is not correct... RKrom 2013-02-06 12:48:54 +00:00
  • c6f3438a16 Fix for bug [#1457] RKrom 2013-02-06 12:22:31 +00:00
  • 1b95405fa9 Added .NET 4.5 check and support, this changes nothing except that we know if 4.5 is installed... which might help with bug fixing. RKrom 2013-02-05 15:56:25 +00:00
  • 3cd141eb77 Added a sensibility property so the Freehand drawing can also be used with a pen. This is for the reported bug [#1454] RKrom 2013-02-05 12:57:24 +00:00
  • f605be6dc3 Fixed overflow exception (noticed this while using it) RKrom 2013-02-05 08:24:41 +00:00
  • 41a98d45b7 Fixed build-version error RKrom 2013-02-04 17:15:13 +00:00
  • 0dc3e6b960 Excluding some Windows 8 code for non Windows 8 systems. RKrom 2013-02-04 17:05:37 +00:00
  • 8b0253bdf9 Fixed a visibility check on Apps and added the gutter! The "Snapped Desktop" is still missing and if this is visible it won't go away... RKrom 2013-02-03 18:12:39 +00:00
  • 141da5e724 Windows 8: fix for capturing when a fullscreen app is visible, this didn't go away, when having multiple monitors. RKrom 2013-02-03 16:26:04 +00:00
  • 7ba6a57b4a Fixed issue where a bitmap was not disposed, causing a memory leak if there were more than 256 colors on the image and it was not forcefully quantized. RKrom 2013-02-01 20:35:05 +00:00
  • 5a1c8ffefb Removed Firefox preview window from the capture list RKrom 2013-02-01 17:06:32 +00:00
  • f17142f6a1 Fixed not fitting text for "Create an 8-bit image if colors are less than 256 while having a > 8 bits image" and changed the readme.txt to have bug #1444 in it. RKrom 2013-02-01 16:52:46 +00:00
  • cdcd051153 Just a small change to make sure the palette doesn't have "garbage" at the unused entries. RKrom 2013-02-01 16:21:51 +00:00
  • 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. RKrom 2013-02-01 16:18:48 +00:00
  • e30939093a Added aspect-ratio lock for Word, as "requested" in Bug #1443 RKrom 2013-01-31 16:48:13 +00:00
  • da09193b99 This change fixes a problem that the icon cache isn't cleared and the .greenshot files don't get the Greenshot-Icon RKrom 2013-01-25 13:57:18 +00:00
  • d3b792bb3e Fixed log file not being created. RKrom 2013-01-25 13:10:35 +00:00
  • c9f87937f6 Fixed compile errors RKrom 2013-01-25 12:35:45 +00:00
  • 508b0385ce This might fix the possibility to register the file type for the user, if he has the rights. Also change to display no error when something doesn't work. RKrom 2013-01-25 12:16:47 +00:00
  • 284df892d8 Changed to string format instead of using normal string concat. RKrom 2013-01-25 11:45:51 +00:00
  • 609075f8d1 Added the possibility to have a link to e.g. the original website when exporting to Outlook or Word. RKrom 2013-01-25 11:44:23 +00:00
  • 00a01236e0 Changed bug ID's and links for the SourceForge upgrade. RKrom 2013-01-24 10:51:55 +00:00
  • fa091c0480 Added a fix for the cursor, it won't be on the surface if it's outside the captured range. This fixes the "issue" where the undo & delete buttons are active but nothing is visible. RKrom 2013-01-24 09:54:33 +00:00
  • 647d2a098c Added AnyCPU for debugging 64 bit code. RKrom 2013-01-24 09:50:22 +00:00
  • 0d5cbcb0be Changed build.bat to include the SVN number and the files are created accordingly. This makes releases easier, but needs some commits when changing from unstable to release candidate to release... RKrom 2013-01-24 09:21:31 +00:00
  • dda4029c04 Added a log4net without System.Web reference so we have better Client-Profile support, also removed some code so it should be smaller. RKrom 2013-01-24 09:01:11 +00:00
  • 2ce20fee08 Cleanup of some animation code RKrom 2013-01-24 08:22:37 +00:00
  • d964b3c7ec Setup improvement for regular users. RKrom 2013-01-21 10:01:53 +00:00
  • c777878bd7 updated copyright notice for 2013 JKlingen 2013-01-20 20:18:49 +00:00
  • c0fbac4c53 Editor: Added horizontal and vertical alignment for text boxes. JKlingen 2013-01-20 20:07:13 +00:00
  • 771fc93d6b Checked ClickActions, added the Settings as possible value. Also made sure we log more information if the INI has wrong values. RKrom 2013-01-18 11:05:11 +00:00
  • f20ced15a7 Added the possibility to configure the single & double-click action of the NotifyIcon. RKrom 2013-01-18 10:41:54 +00:00