Can someone confirm that extracting colors is not possible through the Uploadcare PHP API?
I do understand I can retrieve this by loading e.g.: https://ucarecdn.com/9c71f68a-3e48-4c89-8796-8e4730dab793/-/preview/-/main_colors/3/
https://ucarecdn.com/9c71f68a-3e48-4c89-8796-8e4730dab793/-/preview/-/main_colors/3/
But wondering whether there is such thing as $file->getColor?
$file->getColor
You’re right. There are no methods in the library for building URLs with image transformations and operations related to the CDN URL API. Still, you can put together the required URL on your own and retrieve the color data.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.