Plotting a word cloud in the shape of Big Bird works fine, but Tooltips seems to stop working when I superimpose the image.
Here is the word cloud:
background = Import["https://i.stack.imgur.com/LB4EY.png"];
mask = ColorNegate@Dilation[DeleteSmallComponents[Binarize[background, 0.9]], 1];
data = EntityValue[CountryData[], {"Name", "Population"}];
wc = WordCloud[{Tooltip[#[[1]], #[[2]]], #[[2]]} & /@ data, mask,
ImageSize -> ImageDimensions[background]]
While you can't see it in the image on Stackexchange, if you mouse over the entries in Mathematica, you can see a Tooltip pop up for each entry. Now I want to superimpose the Big Bird image because it's hard to tell what the shape is. Here are two ways to do it:
Overlay[{SetAlphaChannel[background, 0.2], wc}]
ImageCompose[SetAlphaChannel[background, 0.2], wc]
Observe that in both the above, the Tooltips stop working. Does anyone know how to superimpose the image on the graphic so that the Tooltips will continue to function?