You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However when I try using the field methods $image->color()->toColor('dominant') and $image->color()->toColor('average') I only get the dominant color as a result in both cases.
The text was updated successfully, but these errors were encountered:
I looked again and figured out that I only encounter this issue when hananils's kirby colors is in the plugins folder as well (I intended to use both plugins together).
For me with this setup $image->color()->toColor('dominant') and $image->color()->toColor('average') return two different colors only after I remove hananils's color picker plugin from the plugins folder.
I am not sure if this is an incompatibility issue or I am doing something wrong..
I am using
'sylvainjule.colorextractor.mode' => 'both'
to extract both the dominant and the average color.It seems to work and
$image->color()
returns a comma-separated list with both colors:However when I try using the field methods
$image->color()->toColor('dominant')
and$image->color()->toColor('average')
I only get the dominant color as a result in both cases.The text was updated successfully, but these errors were encountered: