ColorInfo/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „If the value is 1, the command will not execute unless it is the specified bitmap Bitmap.“)
 
(Není zobrazeno 22 mezilehlých verzí od stejného uživatele.)
Řádek 9: Řádek 9:
 
'''Gets information about the presence of color in a bitmap.;'''
 
'''Gets information about the presence of color in a bitmap.;'''
  
In the bitmap [[#bitmap-| Bitmap]] it detects the number of pixels with color [[#color-| Color]] in the tolerance band specified by the parameter [[#tolerance-| Tolerance]] and stores it in the output parameter [[#count-| Count]]. It stores the total number of pixels of the bitmap in the parameter [[#totalcount-| TotalCount]] and in the percentage amount [[#percentage-| Percentage]] of the specified color.
+
In the [[#bitmap-| Bitmap]] it detects the number of pixels with the [[#color-| Color]] in the [[#tolerance-| Tolerance]] band specified by the parameter and stores it in the output parameter [[#count-| Count]]. It stores the total number of pixels of the bitmap in the parameter [[#totalcount-| TotalCount]] and in the [[#percentage-| Percentage]] of the specified color.
  
 
== Input parameters ==
 
== Input parameters ==
Řádek 16: Řádek 16:
 
=== Bitmap ===
 
=== Bitmap ===
  
Type [[Special:MyLanguage/Data types#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Bitmap | Bitmap]]
  
Bitmap in which the color [[#color-| Color]] representation will be detected.
+
Bitmap in which the [[#color-| Color]] representation will be detected.
  
 
<span id="color-"></span>
 
<span id="color-"></span>
Řádek 32: Řádek 32:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Specifies the tolerance band of all channels (RGB) of the color [[#color-| Color]].
+
Specifies the tolerance band of all channels (RGB) of the [[#color-| Color]].
  
 
=== OnlyIfNotNull ===
 
=== OnlyIfNotNull ===
Řádek 38: Řádek 38:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
If the value is 1, the command will not execute unless it is the specified bitmap [[#bitmap-| Bitmap]].
+
If the value is 1, the command will not execute unless the [[#bitmap-| Bitmap]] is specified.
  
 
=== Enabled ===
 
=== Enabled ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
+
Enables or disables the command. If the value is 0, the command will not be executed.
  
 
=== PreWait ===
 
=== PreWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
  
 
=== PostWait ===
 
=== PostWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing a command. It has no effect if Enabled=0.
  
== Výstupní parametry ==
+
== Output parameters ==
  
 
<span id="count-"></span>
 
<span id="count-"></span>
 
=== Count ===
 
=== Count ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Počet pixelů v bitmapě [[#bitmap-| Bitmap]] odpovídající barvě [[#color-| Color]] nebo v zadaném tolerančním pásmu.
+
Number of pixels in the [[#bitmap-| Bitmap]] matching the [[#color-| Color]] or in the specified tolerance band.
  
 
<span id="totalcount-"></span>
 
<span id="totalcount-"></span>
 
=== TotalCount ===
 
=== TotalCount ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Celkový počet pixelů v bitmapě [[#bitmap-| Bitmap]].
+
Total number of pixels in the [[#bitmap-| Bitmap]].
  
 
<span id="percentage-"></span>
 
<span id="percentage-"></span>
 
=== Percentage ===
 
=== Percentage ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Procentuální podíl výskytu zadané barvy.
+
Percentage of the presence of the specified color.

Aktuální verze z 3. 2. 2021, 09:48

Jiné jazyky:
English • ‎čeština

Description

Alias: CI

Gets information about the presence of color in a bitmap.;

In the Bitmap it detects the number of pixels with the Color in the Tolerance band specified by the parameter and stores it in the output parameter Count. It stores the total number of pixels of the bitmap in the parameter TotalCount and in the Percentage of the specified color.

Input parameters

Bitmap

Type Bitmap

Bitmap in which the Color representation will be detected.

Color

Type Color

Detected color.

Tolerance

Type Number

Specifies the tolerance band of all channels (RGB) of the Color.

OnlyIfNotNull

Type Number

If the value is 1, the command will not execute unless the Bitmap is specified.

Enabled

Type Number

Enables or disables the command. If the value is 0, the command will not be executed.

PreWait

Type Number

Delay in milliseconds before executing the command. It has no effect if Enabled=0.

PostWait

Type Number

Delay in milliseconds before executing a command. It has no effect if Enabled=0.

Output parameters

Count

Type Number

Number of pixels in the Bitmap matching the Color or in the specified tolerance band.

TotalCount

Type Number

Total number of pixels in the Bitmap.

Percentage

Type Number

Percentage of the presence of the specified color.