[Free] ColorExtractor - An extension to extract colors from image

ColorExtractor

An extension to extract colors from an image.

Methods:

argbToRgb

argbToRgbBlock

Method for argbToRgb

Parameter Type
argb number

Return Type: number

getBlue

getBlueBlock

Method for getBlue

Parameter Type
rgb number

Return Type: number

getGreen

getGreenBlock
Method for getGreen

Parameter Type
rgb number

Return Type: number

getRed

getRedBlock

Method for getRed

Parameter Type
rgb number

Return Type: number

rgbToHex

rgbToHexBlock

Method for rgbToHex

Parameter Type
rgb number

Return Type: text

setImage

setImageBlock

Method for setImage

Parameter Type
path text

Properties:

getDarkMutedColor

getDarkMutedColorBlock

Property for getDarkMutedColor

getDarkVibrantColor

getDarkVibrantColorBlock (1)

Property for getDarkVibrantColor

getDominantColor

getDominantColorBlock

Property for getDominantColor

getLightMutedColor

getLightMutedColorBlock

Property for getLightMutedColor

getMutedColor

getMutedColorBlock

Property for getMutedColor

getVibrantColor

getVibrantColorBlock

Property for getVibrantColor

Documentation made using Extension Docs Generator By @AkshatRana

Download:
ColorExtractor.aix (24.0 KB)

Sample block:

Result:

1 Like

You should follow the naming conventions.

1 Like

Sorry, I didn't knew that.
Will follow next time :slightly_smiling_face:

1 Like

Unlisted until naming conventions followed correctly.

Did you not read this:

Done, the extension now follows naming convention but I am not gonna update the documentation cause it is very time consuming and the methods will still be same.

No worries, topic will be unlisted once the documentation is updated.

Alright