ColorExtractor
An extension to extract colors from an image.
Methods:
argbToRgb
Method for argbToRgb
Parameter
Type
argb
number
Return Type: number
getBlue
Method for getBlue
Parameter
Type
rgb
number
Return Type: number
getGreen
Method for getGreen
Parameter
Type
rgb
number
Return Type: number
getRed
Method for getRed
Parameter
Type
rgb
number
Return Type: number
rgbToHex
Method for rgbToHex
Parameter
Type
rgb
number
Return Type: text
setImage
Method for setImage
Properties:
getDarkMutedColor
Property for getDarkMutedColor
getDarkVibrantColor
Property for getDarkVibrantColor
getDominantColor
Property for getDominantColor
getLightMutedColor
Property for getLightMutedColor
getMutedColor
Property for getMutedColor
getVibrantColor
Property for getVibrantColor
Documentation made using Extension Docs Generator By @AkshatRana
Download:
ColorExtractor.aix (24.0 KB)
Sample block:
Result:
1 Like
JEWEL
January 8, 2025, 12:40pm
2
You should follow the naming conventions.
If you are developing an extension, then please follow the naming conventions, which is UpperCamelCase for the package name as well as for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names, no underscores .
Example
[naming]
What does UpperCamelCase mean?
UpperCamelCase (part of CamelCase ) is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first l…
1 Like
Sorry, I didn't knew that.
Will follow next time
1 Like
TIMAI2
January 8, 2025, 12:57pm
5
Unlisted until naming conventions followed correctly.
Did you not read this:
Submission of new extensions
The community has adopted a new approach to the posting of extensions on the community, and all new extensions are now put through an evaluation process.
We do recognise that you have put a lot of time and effort into creating your extension.
We want you to be able to present your extension in the best condition possible, as bug free as possible, with the best documentation, and the Power Users may provide you with several recommendations of how to improve your ex…
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.
TIMAI2
January 8, 2025, 1:52pm
7
No worries, topic will be unlisted once the documentation is updated.