mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Fixed a typo
Fixed #218 Added JPEG (vs JPG) as a format which can be handled Updated dependencies
This commit is contained in:
parent
5db1f5564b
commit
6a09345649
5 changed files with 19 additions and 8 deletions
|
@ -41,9 +41,17 @@ namespace GreenshotWin10Plugin.Processors {
|
|||
}
|
||||
var ocrProvider = SimpleServiceProvider.Current.GetInstance<IOcrProvider>();
|
||||
|
||||
if (ocrProvider == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var ocrResult = Task.Run(async () => await ocrProvider.DoOcrAsync(surface)).Result;
|
||||
|
||||
if (!ocrResult.HasContent) return false;
|
||||
if (!ocrResult.HasContent)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
captureDetails.OcrInformation = ocrResult;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue