mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
Added the Win10 plugin to the Greenshot installer.
This commit is contained in:
parent
cab0f21e26
commit
f2649a1feb
7 changed files with 59 additions and 10 deletions
|
@ -20,6 +20,7 @@
|
|||
*/
|
||||
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using Windows.Graphics.Imaging;
|
||||
|
@ -36,9 +37,14 @@ namespace GreenshotWin10Plugin
|
|||
{
|
||||
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(typeof(Win10OcrDestination));
|
||||
|
||||
public override string Designation { get; } = "OCR";
|
||||
public override string Designation { get; } = "WIN10OCR";
|
||||
public override string Description { get; } = "Windows 10 OCR";
|
||||
|
||||
/// <summary>
|
||||
/// Icon for the OCR function, the icon was found via: http://help4windows.com/windows_8_imageres_dll.shtml
|
||||
/// </summary>
|
||||
public override Image DisplayIcon=> PluginUtils.GetCachedExeIcon(FilenameHelper.FillCmdVariables(@"%windir%\system32\imageres.dll"), 97);
|
||||
|
||||
/// <summary>
|
||||
/// Constructor, this is only debug information
|
||||
/// </summary>
|
||||
|
@ -49,7 +55,6 @@ namespace GreenshotWin10Plugin
|
|||
{
|
||||
Log.DebugFormat("Found language {0} {1}", language.NativeName, language.LanguageTag);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue