Image color extract [Error]

I want to extract the image color from the image component

component_set_get

Here is the extension I use [Credit: AK Tech]

com.aktech.colorsextractor.aix (16.4 KB)

Currently I am using this method to get the color code from the image

The main issue this extension extract color only from app assets and saved device image. But I load image from online/ URL type when I try to extract the color this error showing:

Error From the extension:

Now my question is How can I solve the issue?

2 Likes