BmpToText/en: Porovnání verzí
(Založena nová stránka s textem „Delay in milliseconds after executing the command. It has no effect if Enabled=0.“) |
|||
| (Není zobrazeno 9 mezilehlých verzí od 2 dalších uživatelů.) | |||
| Řádek 9: | Řádek 9: | ||
'''Converts the bitmap to text.''' | '''Converts the bitmap to text.''' | ||
| − | Attempts to recognize the text rendered in the [[#bitmap-| Bitmap]] and convert it to a string, which is stored in the [[#text-| Text]] output parameter. If a mask is set ([[#masked-| Masked]]=1), | + | Attempts to recognize the text rendered in the [[#bitmap-| Bitmap]] and convert it to a string, which is stored in the [[#text-| Text]] output parameter. If a mask is set ([[#masked-| Masked]]=1), it detects the text based on the color specified by the [[#maskcolor-| MaskColor]] parameter. To detect the text, it is necessary to enter the font database file name with the [[#fontdb-| FontDB]] parameter, which can be generated using GuiMaster Editor tools. |
== Input parameters == | == Input parameters == | ||
| Řádek 32: | Řádek 32: | ||
[[Special:MyLanguage/Datové typy#Number | Number]] type | [[Special:MyLanguage/Datové typy#Number | Number]] type | ||
| − | + | The mask is created from the bitmap using the [[#maskcolor-| MaskColor]] if Masked=1. | |
<span id="maskcolor-"></span> | <span id="maskcolor-"></span> | ||
| Řádek 45: | Řádek 45: | ||
[[Special:MyLanguage/Datové typy#Number | Number]] type | [[Special:MyLanguage/Datové typy#Number | Number]] type | ||
| − | The command is not executed when the [[#bitmap-| Bitmap]] parameter value is not specified and value of this parameter is 1. | + | The command is not executed when the [[#bitmap-| Bitmap]] parameter value is not specified and the value of this parameter is 1. |
=== Enabled === | === Enabled === | ||
| Řádek 65: | Řádek 65: | ||
Delay in milliseconds after executing the command. It has no effect if Enabled=0. | Delay in milliseconds after executing the command. It has no effect if Enabled=0. | ||
| − | == | + | == Output parameters == |
<span id="text-"></span> | <span id="text-"></span> | ||
=== Text === | === Text === | ||
| − | + | [[Special:MyLanguage/Datové typy#String | String]] type | |
| − | + | Detected text. | |
| − | == | + | == See also == |
| − | [[Special:MyLanguage/Příklady použití#BmpToText| | + | [[Special:MyLanguage/Příklady použití#BmpToText|Examples of use]] |
| − | [[Special:MyLanguage/Používání masky| | + | [[Special:MyLanguage/Používání masky|Using a mask]] |
| − | [[Special:MyLanguage/Vytvoření databáze fontů| | + | [[Special:MyLanguage/Vytvoření databáze fontů|Creating a font database]] |
Aktuální verze z 3. 2. 2021, 09:19
Obsah
Description
Alias: BTT
Converts the bitmap to text.
Attempts to recognize the text rendered in the Bitmap and convert it to a string, which is stored in the Text output parameter. If a mask is set ( Masked=1), it detects the text based on the color specified by the MaskColor parameter. To detect the text, it is necessary to enter the font database file name with the FontDB parameter, which can be generated using GuiMaster Editor tools.
Input parameters
Bitmap
Bitmap type
Bitmap containing text.
FontDB
String type
Font database file name.
Masked
Number type
The mask is created from the bitmap using the MaskColor if Masked=1.
MaskColor
Color type
Font color for mask (used only when Masked=1).
OnlyIfNotNull
Number type
The command is not executed when the Bitmap parameter value is not specified and the value of this parameter is 1.
Enabled
Number type
Enables or disables the command. If the value is 0, the command will not be executed.
PreWait
Number type
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
PostWait
Number type
Delay in milliseconds after executing the command. It has no effect if Enabled=0.
Output parameters
Text
String type
Detected text.