I using the following :convert_options
-auto-orient -gravity center -background transparent -extent '50x50>'
for what of my has_attached_file calls, what I WANT to do is rather than using transparent, I’d like to set the background color of the image to the color that lives at 0,0 of the image.
Using
convert rose: -format "%[pixel:u.p{0,0}]" info:-
I get the output
srgb(48,47,45)
which is great, but I’m unable to use that in place of transparent in the actual call..
Can anyone help with how I can pull this off?
Wrote a custom interpolator for this.