Commit graph

425 commits

Author SHA1 Message Date
L1Q 69e8c22479 Update russian translation 2020-08-31 12:30:29 +01:00
L1Q 9a5fb49b18 Move lines to resx 2020-08-31 12:30:28 +01:00
Jaex 041db0deaa Apply color matrix while drawing the image 2020-08-29 21:06:29 +03:00
Jaex bade88e3df Change default values of "Image" effect 2020-08-29 04:35:28 +03:00
Jaex 6b0fa4cdf6 Added Opacity option to "Image" effect 2020-08-29 02:46:41 +03:00
Jaex c3356f59cd Allow importing effect when list is empty 2020-08-19 20:37:48 +03:00
Jaex e748e22ef6 Backward compatibility breaking change: Removed "GradientType", "Color2" and "UseCustomGradient" options from image effects, instead "Gradient" option still can be used 2020-08-19 20:27:39 +03:00
Jaex 394c67777d Removed unused WatermarkForm 2020-08-19 20:22:08 +03:00
Jaex d83a8021ce Added "Open image effects folder" button 2020-08-16 15:53:07 +03:00
Jaex 7e6c597e2a AutoHide false by default for drawing image effects 2020-08-15 22:10:17 +03:00
Jaex 1670e48a16 Make sure only json and xml files will be extracted from backup file, also limit max uncompressed size for backup and FFmpeg 2020-08-14 14:47:03 +03:00
Jaex ec342d7594 Add image effect config from memory 2020-08-13 16:52:42 +03:00
Jaex c2c8855ee5 Added ZipEntryInfo class to support adding both source path and stream 2020-08-13 16:00:38 +03:00
Jaex e32aecbcd1 Code refactor 2020-08-05 05:24:49 +03:00
L1Q 4b1a3d6229 Update ForceProportions effect
- more consistent code formatting
- better color selection
2020-08-05 01:49:19 +03:00
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
Jaex 1773b29f23 Added NoOverlapOffset option 2019-12-15 17:54:23 +03:00
Jaex 31bc399444 Added NoOverlap option 2019-12-15 15:39:15 +03:00
Jaex b5fc7103e4 Rename RandomRotate to RandomAngle 2019-12-15 15:07:40 +03:00
Jaex 612ccc8ecc Added random opacity option 2019-12-09 12:26:42 +03:00
Jaex f07a90a910 Fix position offsets 2019-12-08 16:59:44 +03:00
Jaex bbbbbc3ccb Removed random position option from image watermark because random images effect can be used for same purpose 2019-12-08 16:52:45 +03:00
Jaex 9bcd554c43 Make sure image is valid size 2019-12-08 16:39:23 +03:00
Jaex 32dd3cc77d Added min/max range for random rotate 2019-12-08 16:03:45 +03:00
Jaex fba824e634 Added random size option 2019-12-08 15:31:23 +03:00
Jaex 7017fee4a6 Added random rotate option 2019-12-08 15:14:41 +03:00
Jaex 241a9f4eb3 Added image file caching for random images effect 2019-12-08 10:59:56 +03:00
Jaex 8e800ff315 Initial work for random images effect 2019-12-08 10:23:20 +03:00
Jaex 9f552ffabb Update NuGet 2019-11-19 04:05:41 +03:00
Jaex e32661eee2 Save image dialog improvements for image effects form 2019-11-05 13:56:08 +03:00
Absay 53c5ec31bb Update translation: es-MX 2019-11-03 11:39:46 -06:00
Fyers 20d219b264 german 2019-10-01 22:33:10 +02:00
thanhpd e0222c8a8d
Update Vietnamese translation 2019-10-01 23:21:33 +07:00
Jaex c26ab31a0b
Merge pull request #4387 from candela97/master
update zh-TW localization
2019-09-24 11:23:09 +03:00
candela97 5ba25517d4
update zh-TW localization 2019-09-24 05:19:35 +08:00
Jaex ae731113c0 Draw logo to center of preview image 2019-09-23 13:05:03 +03:00
Jaex 5d2e1d098d Preview image of image effects form now gonna be generated automatically to scale with picture box size 2019-09-23 11:16:52 +03:00
Jaex 3dfac10e82 Added multi color gradient support to background image effect 2019-09-15 10:51:05 +03:00
Jaex 4f2e058260 Added multi color gradient support to border image effect 2019-09-15 10:05:55 +03:00
Jaex 3e07d79eef
Merge pull request #4321 from simonporte/french-translation
Update french translation
2019-08-31 10:38:15 +03:00
mdmk af765c5114 Update french translation 2019-08-30 16:34:26 +02:00
Amir Pourmand 83b1985f8f Adding Persian Language Support (#4314)
* Create Resources.fa-IR.resx

* Add more translations

* adding Persian language to enums and langauge helper

* Ading Persian to Main form and resources

* translate about form

* translate Standard Record Form

* add Iran icon

* add Ir Icon to resources

* update Resource file

* update main Form

* fix adding IR File

* catching all Exceptions!

* Adding More Forms

* merge commit

* Add More

* Back To Version

* A little Change

* Add Persian Resource Files

* Add More Persian

* add more translation

* add more traslation

* add resource file Fa-IR

* Revert "merge commit"

This reverts commit e5f4a36f8c.

# Conflicts:
#	ShareX/Forms/TaskSettingsForm.Designer.cs
#	ShareX/Forms/TaskSettingsForm.resx

* Revert History Form to its original state
2019-08-30 10:21:04 +03:00
L1Q b6ee0f4243 Update russian translation 2019-08-24 06:51:12 +03:00
Jaex 8c4bbcb5aa NuGet update 2019-08-18 16:52:04 +03:00
gehongyan f54d9827cf Updated Simplified Chinese Translation. 2019-07-10 15:42:31 +08:00
xnumad f4f1a7bb6c Update German translation
Grammar and wording related
2019-07-08 03:12:14 +02:00
Jaex 9209cb36c9 Added refresh button to image effects form 2019-06-25 18:46:43 +03:00
Jaex 373f9de2af Added slice image effect 2019-06-25 18:33:29 +03:00
Jaex 17b6c009fe Rename function name 2019-06-24 21:36:16 +03:00
Jaex f57d9693a3 More dark theme support 2019-06-23 16:59:48 +03:00
Jaex 19369ac245 Fix math extension usages 2019-06-12 15:29:16 +03:00