Commit graph

360 commits

Author SHA1 Message Date
L1Q
2039c99909 Use ResizeBitmap for ForceProportions effect
Also some refactoring
2020-08-05 00:09:03 +03:00
L1Q
dc10a837cf Add ForceProportions image effect 2020-08-05 00:09:02 +03:00
Jaex
681c1081e6 Fix path size 2020-07-28 16:52:31 +03:00
Jaex
fe25bcf078 Added confirmation msgbox for clear effects 2020-07-27 14:01:57 +03:00
Jaex
188b3399f3 Added TextRenderingMode option 2020-07-23 14:32:53 +03:00
Jaex
c56943e999 Restrict slice height to minimum 1 2020-07-20 22:31:03 +03:00
Jaex
f6ba9b7ec3 Set minimum size for form 2020-07-20 22:06:09 +03:00
Jaex
1979fa65b8 Simplify setting names 2020-07-20 20:19:51 +03:00
Jaex
5df2f3cd92 Added angle support to text drawing 2020-07-20 20:03:49 +03:00
Jaex
736968bc4d Added gradient support to text shadow 2020-07-20 07:00:43 +03:00
Jaex
fc4087049c Check is gradient visible 2020-07-20 06:25:38 +03:00
Jaex
e4a44ce5ab Check for alpha before drawing 2020-07-20 05:10:04 +03:00
Jaex
d7e09e0820 Rename effects 2020-07-20 03:40:39 +03:00
Jaex
99707c6e3e Fix gradient rectangle 2020-07-20 03:34:09 +03:00
Jaex
c85b42abf0 Added text shadow drawing 2020-07-20 01:24:07 +03:00
Jaex
48a6754723 Added text outline drawing 2020-07-20 01:00:32 +03:00
Jaex
df55bc8269 Initial work for new text image effect 2020-07-20 00:33:16 +03:00
Jaex
8d7e1f0744 Improve outline image effect 2020-07-16 02:41:25 +03:00
Michael Delpach
aa13393aa6 ImageEffects DPI issues fixed and tested 2020-07-11 13:55:58 +08:00
Jaex
8b7cf84c20 Added effect label 2020-07-09 14:12:17 +03:00
Jaex
c59d02f2f2 Make sure preview image is square 2020-07-09 12:26:09 +03:00
Jaex
cbd03524ca Image effects form design change 2020-07-09 12:21:14 +03:00
Jaex
c47c42d581 Move forms to Forms folder 2020-07-09 11:57:00 +03:00
Jaex
eacc903588 Added drag n drop support to presets 2020-07-09 11:50:40 +03:00
Jaex
11ce1f0fad Use reflection to apply theme to form components 2020-07-09 11:15:43 +03:00
Jaex
9a13d82af4 Apply custom theme to form components 2020-07-09 10:20:06 +03:00
Jaex
69ba55fd41 Added tooltip to image effects form 2020-07-09 09:44:07 +03:00
Jaex
7abc41aac6 Ensure selected preset is visible 2020-07-08 16:54:29 +03:00
Jaex
593c9aea27 Make sure preview is updated once 2020-07-08 16:12:43 +03:00
Jaex
97b25310ef Disable effects list deselect 2020-07-08 15:07:46 +03:00
Jaex
3ad1c8e3d4 Apply custom theme to effects menu 2020-07-08 15:00:07 +03:00
Jaex
f761a612a0 Order controls 2020-07-08 14:54:46 +03:00
Jaex
47ba577fc7 Update control states 2020-07-08 14:47:21 +03:00
Jaex
1d649e2617 Image effects form design change 2020-07-08 14:14:24 +03:00
Jaex
a1464f277b Clamp selected preset index 2020-07-08 09:31:15 +03:00
Michael Delpach
f0a982fdf3 Rebase to 0c039b9ee0
0c039b9ee0
2020-07-06 07:23:59 +08:00
Michael Delpach
50f86ee79a Revert "Revert "Merge branch 'master' of https://github.com/ShareX/ShareX""
This reverts commit 85fdab3c56.
2020-07-06 06:37:56 +08:00
Michael Delpach
85fdab3c56 Revert "Merge branch 'master' of https://github.com/ShareX/ShareX"
This reverts commit 2903ca1082, reversing
changes made to 195c0f2f8a.
2020-07-06 06:27:50 +08:00
Michael Delpach
2903ca1082 Merge branch 'master' of https://github.com/ShareX/ShareX 2020-07-06 06:26:47 +08:00
Jaex
0c039b9ee0 Added palette size option to SelectiveColor effect 2020-07-05 17:27:31 +03:00
Jaex
7577bdd0a4 Keep aspect ratio using watermark image instead of canvas 2020-07-05 11:05:43 +03:00
Jaex
a98333c1ab Added confirmation for package overwrite 2020-07-04 09:45:52 +03:00
Jaex
5fdf602200 Code refactor 2020-07-04 00:51:47 +03:00
Jaex
423b4d6860 Code refactor 2020-07-03 14:18:47 +03:00
L1Q
a05db9b66a Add RGB Split image effect 2020-07-03 10:31:39 +03:00
Jaex
c9dd17be30 Removed "watermark" text from image and text drawing effects 2020-07-03 01:43:20 +03:00
Michael Delpach
b5d68b721e .NET Framework upgrade to 4.7.2 to fix multi-DPI issues
Starting with the .NET Framework 4.7, Windows Forms includes enhancements for common high DPI and dynamic DPI scenarios - See https://docs.microsoft.com/en-us/dotnet/framework/winforms/high-dpi-support-in-windows-forms
2020-06-29 07:36:48 +08:00
Michael Delpach
195c0f2f8a Revert "Merge branch 'master' into tweaks"
This reverts commit 162badae3b, reversing
changes made to e0f2812f3d.
2020-06-29 06:10:21 +08:00
Jaex
c737768e89 Improve enum value preview in image watermark 2020-06-28 15:26:09 +03:00
Jaex
af4060ac88 Added aspect ratio support to image watermark when 0 is used for width or height 2020-06-28 14:05:25 +03:00
Jaex
7df4ad672f Restrict extraction of image effect packages to 20mb to prevent zip bomb attacks 2020-06-27 01:04:43 +03:00
Jaex
706075a148 Save selected preset index properly 2020-06-19 19:41:23 +03:00
Jaex
893ef9bcea More verbose command string 2020-06-19 19:30:24 +03:00
Jaex
d6872d7b9f Improve ZipManager extract method 2020-06-19 17:41:00 +03:00
Jaex
f00dd2122b Added CompositingMode option to image watermark 2020-06-19 13:34:36 +03:00
Jaex
dea9c7daf2 Use split container in image effects form 2020-06-18 11:38:00 +03:00
Jaex
4470741b32 Fix control anchor 2020-06-17 17:03:20 +03:00
Jaex
b16f93fda5 Added interpolation mode option to image watermark 2020-06-17 16:40:29 +03:00
Jaex
a4ce674153 Extract not relies on package name now 2020-06-17 10:14:31 +03:00
Jaex
b2c6e9fd25 Populate assets folder path and package file path automatically 2020-06-17 04:24:14 +03:00
Jaex
2a2f42639f Update image effect text in after capture tasks because it is not about watermark anymore 2020-06-17 02:38:38 +03:00
Jaex
7b302567f0 If destination folder already exists then ask for overwrite 2020-06-16 11:50:11 +03:00
Jaex
41cf8ff133 Make sure preset name is not empty 2020-06-16 11:24:12 +03:00
Jaex
b8579bc0a8 Set initial directory of save dialog 2020-06-16 09:18:17 +03:00
Jaex
65d2041a3a Refactor packager codes 2020-06-16 09:02:32 +03:00
Jaex
fa0e636575 Rename config file name 2020-06-16 08:31:14 +03:00
Jaex
06bc6c44a8 After package open folder automatically 2020-06-16 08:02:59 +03:00
Jaex
056cb7cbac Don't let selecting assets folder outside of ShareX image effects folder 2020-06-16 07:55:17 +03:00
Jaex
0a5d803255 Added custom path variable %ShareXImageEffects% 2020-06-16 07:27:32 +03:00
Jaex
e01f8304b4 Try catch extract 2020-06-16 06:23:13 +03:00
Jaex
d4bd293bbe Fix unnecessary preview updates 2020-06-16 05:52:44 +03:00
Jaex
28c7b91752 Support importing .sxie files 2020-06-16 05:29:07 +03:00
Jaex
8a6d06b21d Support singleton in image effects form 2020-06-16 04:40:57 +03:00
Jaex
059e22e0d8 Added ExtractPackage method 2020-06-16 04:08:17 +03:00
Jaex
573f512589 Added ImageEffectPackager class 2020-06-16 02:21:20 +03:00
Jaex
0c9a0287fd Added image effect packager form 2020-06-16 02:02:03 +03:00
Jaex
b2ed185166 Fix control anchor 2020-06-08 23:05:46 +03:00
Jaex
e0666badb6 Added duplicate preset button 2020-06-07 03:52:02 +03:00
Jaex
5be913cb76 Don't include namespace and assembly in exported image effect json 2020-05-15 01:57:55 +03:00
Jaex
ee6d85cf1a Use variable folder path for draw image effect 2020-05-14 00:18:27 +03:00
Jaex
5e59bf9cdf Check file path 2020-05-12 15:45:32 +03:00
Jaex
9c89c521d2 Include pt-PT.resx files 2020-05-07 08:47:10 +03:00
Farewell Angelina
28c29feb18 PT-PT Language 2020-04-30 00:45:09 +01:00
Jaex
96296c51eb Added RandomFast and RandomCrypto classes 2020-04-23 16:41:09 +03:00
Jaex
335972455a More Bitmap usage 2020-03-23 22:33:26 +03:00
Jaex
0137f60a0d All ImageHelpers methods return bitmap now instead of image 2020-03-22 02:22:43 +03:00
Jaex
c1bcb15d98 Use bitmap in manipulation image effects 2020-03-22 01:07:38 +03:00
Jaex
e419281240 Use bitmap in filter image effects 2020-03-22 00:41:08 +03:00
Jaex
cfdad2c27c Use bitmap in drawing image effects 2020-03-22 00:16:55 +03:00
Jaex
3866c1746b Use bitmap in adjustment image effects 2020-03-21 23:51:06 +03:00
Jaex
b8c10a7067 Decrease unnecessary bitmap casts 2020-03-21 04:41:34 +03:00
Jaex
42e1067412 Return bitmap instead of image 2020-03-20 22:02:26 +03:00
Jaex
acd262737b Rename UseDarkTheme to UseCustomTheme 2020-02-05 11:13:55 +03:00
Jaex
803a4e567c Update year 2020-02-05 10:19:48 +03:00
Олександр (6c6c6)
ae475ce88a
Some ukrainian fixes and updates 2020-01-23 17:45:05 +02:00
Олександр (6c6c6)
977b845726
Ukrainian translation update
Almost completed Ukrainian localization. Anyone can join the translation [here](https://crowdin.com/project/sharex-unofficial/).
2020-01-21 17:48:12 +02:00
Jaex
28b86ec2f2 Added context menu opacity option 2019-12-22 14:50:06 +03:00
Jaex
7ba3a297a5 Make sure to clear property grid 2019-12-17 21:30:33 +03:00
Jaex
16b41172d2 Rename "Random images" effect to "Particles" 2019-12-17 21:27:08 +03:00
Jaex
196a45ff37 Fixed aspect ratio of images 2019-12-17 21:19:44 +03:00