Commit graph

  • 15db5a1a3f
    Update Italian language (#394) bovirus 2022-04-02 21:15:15 +02:00
  • 64c77ea8d9
    Some code improvements which make some later features possible (maybe having a bezier for a line) [skip ci] Robin Krom 2022-03-29 22:38:28 +02:00
  • 78cbb055cb
    Added better error handling for reading the bitmap [skip ci] Robin Krom 2022-03-29 20:35:43 +02:00
  • 9ae5598ab8
    Solved the clipboard loading for the DIB file format too, this is related to #396 v1.3.249 Robin Krom 2022-03-29 09:05:25 +02:00
  • 83b308cb4b
    Boolean logic fix to help with #396, this at least should solve the issue for .PNG, other formats are pending. [skip ci] Robin Krom 2022-03-28 16:00:51 +02:00
  • d6055416c8
    Enhanced the adorner interface and the drawing to make it easier to configure with different colors. [skip ci] Robin Krom 2022-03-28 14:53:17 +02:00
  • 2721ee06a2
    Fix #392 , The DibFileFormatHandler wasn't registered with the name which is stored in DataFormats.Dib v1.3.246 Robin Krom 2022-03-23 21:59:18 +01:00
  • 68eb1100da
    Update Italian language bovirus 2022-03-23 17:37:27 +01:00
  • 5bc52e4d55
    Validate the FreehandSensitivity as was reported in BUG-2923. [skip ci] Robin Krom 2022-03-23 09:45:28 +01:00
  • 56c26ac038
    Enhanced ability to crop an image vertically and horizontally. #249 (#388) v1.3.244 Christian Schulz 2022-03-22 11:57:01 +01:00
  • 4a66a4dbe2
    Removed some chattiness in the log. [skip ci] Robin Krom 2022-03-22 11:42:52 +01:00
  • 8014199bb6
    Fix for #390 by limiting the length of the displayed title. Robin Krom 2022-03-22 11:32:30 +01:00
  • be93f3aebd
    Create language-website-ru-RU.xml Viktor 2022-03-21 19:02:08 +02:00
  • 14d90fc804 Bugfix: Moving event subscriptions to Initialize() Christian Schulz 2022-03-17 20:23:17 +01:00
  • d47761e054 Revert "add a hatch pattern to the crop selection rectangle" Christian Schulz 2022-03-17 19:30:52 +01:00
  • 29f93cfacf
    Changed the autocrop to be able to take a rectangle specifying the area where it has to look. In this case, we take the CropRectangle where there was any. Robin Krom 2022-03-12 22:19:31 +01:00
  • b35c436e3f add a hatch pattern to the crop selection rectangle Christian Schulz 2022-03-12 02:08:42 +01:00
  • e31e63a632 only enable confirm button if a selection exists Christian Schulz 2022-03-12 00:58:40 +01:00
  • 5b2b66c789 The confirm method has been split into specialized methods Christian Schulz 2022-03-07 20:49:28 +01:00
  • eed210d05c Refresh editor controls after init crop mode Christian Schulz 2022-03-05 17:12:56 +01:00
  • caa6488406
    Merge branch 'feature/249-crop-out' of https://github.com/Christian-Schulz/greenshot into feature/249-crop-out Robin Krom 2022-03-05 00:03:27 +01:00
  • 1ee90b8c29
    Updated the vertical and horizontal crop to not first make new images, but use DrawImage directly. Robin Krom 2022-03-05 00:03:15 +01:00
  • 84f9984334 ensure that the undo button is enabled after crop, especially when confirming with Enter Christian Schulz 2022-03-04 23:35:16 +01:00
  • 8bc6fbdcc4
    Small code cleanup of the places I already touched in this PR. Robin Krom 2022-03-04 23:04:14 +01:00
  • 747a51e512
    Make sure that CropContainer is not placed upon the Undo / Redo stack, as this causes all kinds of issues. Robin Krom 2022-03-04 14:54:16 +01:00
  • 58e968925d reusing existing translations Christian Schulz 2022-03-04 00:34:57 +01:00
  • 9b8ab7ad2b Bugfix when try to crop the half or the hole image Christian Schulz 2022-03-03 23:45:31 +01:00
  • 2a52e72c24 Implement review hints Christian Schulz 2022-03-01 10:48:12 +01:00
  • 3a55822049 Add option menu for crop modes Christian Schulz 2022-02-28 18:27:16 +01:00
  • ba34bacf29 Enhanced ability to crop an image vertically and horizontally. #249 Christian Schulz 2022-02-22 02:01:49 +01:00
  • 1585d1c2ea Merge branch 'release/1.3' into fix/379-preferences-window Christian Schulz 2022-02-20 17:30:37 +01:00
  • 60956771c8
    Feature Improve file format support (#385) Robin Krom 2022-02-20 13:21:32 +01:00
  • aa5379cbd6
    More work on the modularization of the file format handlers, trying to more cleanly separate the code for the coming next steps. Robin Krom 2022-02-20 12:47:42 +01:00
  • 2cb8630775
    Added jxr as a possible output format, also matches the settings with the properties via nameof, which makes sure the reference to the settings form is seen in the code. Robin Krom 2022-02-19 09:41:07 +01:00
  • 354eec34a3
    I've added a feature that does best fit of the surface in the editor when a file (from clipboard) is opened. Robin Krom 2022-02-19 08:55:33 +01:00
  • a32cc1888b
    Fix exception when rotating when counter are used, by prevent negative fontsize (#382) Christian Schulz 2022-02-19 01:25:07 +01:00
  • 7a47b4f6ff
    Added logic to fit any images being placed on the canvas, this is not perfect yet. Robin Krom 2022-02-19 01:08:50 +01:00
  • baad75aacc
    Added a routine to get the WIC supported extensions automatically. Robin Krom 2022-02-19 00:37:36 +01:00
  • fb965c2887
    Fixing an overflow exception. Robin Krom 2022-02-18 23:18:26 +01:00
  • 183f28f523 prevent negative fontsize Christian Schulz 2022-02-18 21:15:37 +01:00
  • 52c042572f
    Added the SurfaceOutputSettings to the IFileFormatHandler, changed the TryLoad to LoadDrawablesFromStream to enable returning multiple values. Robin Krom 2022-02-16 21:21:24 +01:00
  • cd82ddfd52 toggle ExpertSettingsState on labels too Christian Schulz 2022-02-16 21:13:52 +01:00
  • ae7cd8a59b Enlarged the SettingsForm and rearranged the controls #379 Christian Schulz 2022-02-16 20:11:08 +01:00
  • 9170be4ac6 Add linters Michael Adams 2022-02-12 14:30:13 -08:00
  • 6761190643
    Moved the list of IFileFormatHandler to the SimpleServiceProvider Robin Krom 2022-02-11 22:17:31 +01:00
  • bb39817f9d
    Making the save functionality in the editor work with the new IFileFormatHandler, the file dialog still needs to be adjusted. Robin Krom 2022-02-10 23:43:28 +01:00
  • 1a72e6661e
    Restructuring of the FileFormatHandler, to make it easier to configure what extensions are supported for different actions. Robin Krom 2022-02-10 16:22:46 +01:00
  • e1c70aadb9
    Step by step improving of the functionality, now added Jpeg XR via the WmpFileFormatHandler which uses WPF. Robin Krom 2022-02-10 15:27:52 +01:00
  • 2997671698
    Fixing drag and drop of files, the container was not added to the surface. Also fixed opening things from the clipboard. Robin Krom 2022-02-09 23:37:38 +01:00
  • eb9bbb8937
    Work in progress, making the clipboard & drag/drop work again. SvgContainer seems to work, added MetaFileFormatHandler & MetafileContainer for the EMF/WMF file formats. Robin Krom 2022-02-09 22:00:17 +01:00
  • a074162ea5
    Merged release/1.3 Robin Krom 2022-02-08 21:56:32 +01:00
  • 2e13c57e2d
    Doing a bit of cleanup on the code, and fixing #374 v1.3.239 Robin Krom 2022-02-08 14:00:49 +01:00
  • 4f3920d61a
    Changed the default window capture for Windows 11 to use User32.PrintWindow (called GDI internally), which should solve #326. The background for this can be read in #373 v1.3.238 Robin Krom 2022-02-06 21:21:40 +01:00
  • 135efe3704
    Migrated the DibHelper to the DibFileFormatHandler Robin Krom 2022-02-03 09:52:11 +01:00
  • a0b3d22f9b
    Merge branch 'release/1.3' into feature/ImproveFileFormatSupport Robin Krom 2022-02-03 09:16:08 +01:00
  • 6b90f2c3ff
    Better documentation for the DibHelper [skip ci] Robin Krom 2022-02-03 09:10:05 +01:00
  • fc804655a6 Optimize DibHelper a bit, now only needs one byte array instead of two (#348) Carsten Schuette 2022-02-03 08:43:27 +01:00
  • 43a1e964d5
    Merge branch 'release/1.3' into feature/ImproveFileFormatSupport Robin Krom 2022-02-03 00:09:49 +01:00
  • 9ac6d22c96
    Made the DIB code easier to work with, saving memory allocations where possible. Robin Krom 2022-02-03 00:09:08 +01:00
  • b0020591b8
    Merge branch 'release/1.3' into feature/ImproveFileFormatSupport Robin Krom 2022-02-02 11:11:25 +01:00
  • b94d9139f2
    I found some research about using the DIB format on the clipboard, which suggests to do it differently. This implements that change, and potentially solves #348, BUG-2892 and more (maybe SUPPORT-135, #172, #365) v1.3.235 Robin Krom 2022-02-01 22:36:16 +01:00
  • 483bf97dce
    Making the first things work, still the ClipboardHelper needs to be modified so we do not return an image but a container, otherwise we cannot support vector graphics. Robin Krom 2022-02-01 13:42:53 +01:00
  • 4f237feed4
    Merge branch 'release/1.3' into feature/ImproveFileFormatSupport Robin Krom 2022-01-31 22:52:12 +01:00
  • 8ce4735aad
    This should keep the slack workaround but fix #367 v1.3.234 Robin Krom 2022-01-31 13:24:25 +01:00
  • 7e77f3678a
    This feature will make it easier to support different file formats later on, and also adds a "VectorGraphicsContainer" base class to better support non pixel graphics in the editor. Examples are SVG, WMF/EMF and Emoji which scale automatically to the correct size and are not resized from pixels. Robin Krom 2022-01-31 13:09:15 +01:00
  • cf89e5fb2b Fix installer Julien Richard 2022-01-30 21:46:04 +01:00
  • 870af8bd33 Resources as files + "use system font" bool Julien Richard 2022-01-30 21:34:20 +01:00
  • c701aad58c
    Update language-de-DE.xml (#316) Mr-Update 2022-01-29 22:57:37 +01:00
  • fdbaca6c3f
    Fixed the field changing for #338, this should trigger undo and also changes to the default field values (meaning storing in the configuration)- Added the CTRL modifier for the feature for now. Robin Krom 2022-01-29 21:49:20 +01:00
  • 9757829abe Update SixLabors.ImageSharp.Drawing Julien Richard 2022-01-29 21:02:02 +01:00
  • bf65fe0f2e
    Merge branch 'release/1.3' into patch-4 Mr-Update 2022-01-29 19:09:09 +01:00
  • 5228f9801b
    Update language-de-DE.xml Mr-Update 2022-01-29 18:58:15 +01:00
  • f98cbd1c44
    Add shortcuts (0-9, +/-) for foreground color, background color, line thickness, bold and shadow (#338) (#366) v1.3.231 Robin Krom 2022-01-28 22:15:45 +01:00
  • 2fddbd80f4
    Add shortcuts (0-9, +/-) for foreground color, background color, line thickness, bold and shadow (#338) meschi89 2022-01-28 22:04:50 +01:00
  • 8985eb58fa
    Update language-zh-TW.xml (#345) SiderealArt 2022-01-29 00:18:28 +08:00
  • f448cc683c
    Update version Attribute for Translation Update jklingen 2022-01-28 17:17:16 +01:00
  • ff8fb5655a
    Another formatting fix Robin Krom 2022-01-28 11:49:11 +01:00
  • 6eada72a99
    Fix missing paragraph tag (#340) Milton Howe 2022-01-28 03:21:03 -05:00
  • 1c74700c61 Keep aspect ratio when resizing Julien Richard 2022-01-26 09:08:55 +01:00
  • 1a57e75009 Clean Julien Richard 2022-01-25 21:20:58 +01:00
  • b9e601b4ff Make rotation work again Julien Richard 2022-01-25 21:13:08 +01:00
  • 2bc74554ea Use WrapMemory for Bitmap too Julien Richard 2022-01-25 20:54:03 +01:00
  • 2bbe325949 Use WrapMemory + no more cache Julien Richard 2022-01-25 20:23:31 +01:00
  • 82fa94f566
    Fixed some more DPI issues, this time in the settings. v1.3.229 Robin Krom 2022-01-25 12:33:06 +01:00
  • 09d310da78
    Improvement on the DPI issue in the AboutForm and hopefully fixed a drawing issue where something is animating while the form is being closed. Robin Krom 2022-01-25 12:12:03 +01:00
  • 10e3049087
    Optimized the GreenshotForm by removing the designer support in release mode. Robin Krom 2022-01-25 11:37:13 +01:00
  • ac8545c848
    Dependency updates Robin Krom 2022-01-25 11:22:11 +01:00
  • 46a302f5e8
    This adds a workaround for #348, removing the usage of the DIB format and replace it with BITMAP. This might break transparency for some applications, but it's not used much in Windows 11 yet. Robin Krom 2022-01-25 10:45:38 +01:00
  • fda0cd9555
    Added a way to test for Windows 11. Robin Krom 2022-01-25 10:40:36 +01:00
  • 3c94e86001 Fixes in renderer Julien Richard 2022-01-25 07:15:25 +01:00
  • d57fe900e5
    Trying out a workaround for the Slack issue, the capture form will be resized back to the desired size. v1.3.223 Robin Krom 2022-01-24 23:32:30 +01:00
  • 4a44f4fa78 No more custom button Julien Richard 2022-01-23 13:54:19 +01:00
  • d9d3681e92 Fix installer Julien Richard 2022-01-23 13:45:12 +01:00
  • 4f1478ec34 SixLabors vanillia Julien Richard 2022-01-23 13:37:48 +01:00
  • 37b42aaadb
    Merge branch 'release/1.3' of https://github.com/greenshot/greenshot into release/1.3 Robin Krom 2022-01-23 01:04:00 +01:00
  • a498a80fb8
    Small stability improvemnt [skip ci] Robin Krom 2022-01-23 01:03:31 +01:00
  • 9e45eb29d6 Add icon cache Julien Richard 2022-01-22 13:35:54 +01:00
  • 69fcb22df2 Use SixLabor.Fonts for rendering Julien Richard 2022-01-22 10:55:49 +01:00
  • fde1539ac5 Update Julien Richard 2022-01-17 09:52:06 +01:00
  • 6622bec158
    Update README.md (#351) Laurent Eriksen 2022-01-16 16:17:50 +01:00