ColorInfo/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Total number of pixels in the bitmap Bitmap.“)
(Založena nová stránka s textem „Type Number“)
Řádek 77: Řádek 77:
 
=== Percentage ===
 
=== Percentage ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
Type [[Special:MyLanguage/Data types#Number | Number]]
  
 
Procentuální podíl výskytu zadané barvy.
 
Procentuální podíl výskytu zadané barvy.

Verze z 27. 1. 2021, 14:57

Jiné jazyky:
English • ‎čeština

Description

Alias: CI

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

In the bitmap Bitmap it detects the number of pixels with color Color in the tolerance band specified by the parameter Tolerance 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 amount Percentage of the specified color.

Input parameters

Bitmap

Type Number

Bitmap in which the color Color representation will be detected.

Color

Type Color

Detected color.

Tolerance

Type Number

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

OnlyIfNotNull

Type Number

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

Enabled

Type Number

Allows or prohibits a command. When 0, no command will be executed.

PreWait

Type Number

Delay in milliseconds before executing a 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 Bitmap matching the color Color or in the specified tolerance band.

TotalCount

Type Number

Total number of pixels in the bitmap Bitmap.

Percentage

Type Number

Procentuální podíl výskytu zadané barvy.