I got the requirement to add an image overlay, sort of what The Guardian is doing on its pictures on Twitter that have a “The Guardian” box on top, to some of the images our users are adding.
As a bonus, not only one overlay image, but actually two, for the big image scales I need to use one overlay image, and fo the smaller ones another one.
I played this afternoon with Pillow and it is really easy to make the composition, now the question comes to: do I need to fork plone.scale (or somewhere else) to do that, or is componetized enough so that I can override the default machinery?
Lastly, I mentioned that only some images need to have these overlay images on top, for that I would need access to the content object itself, not only the image, to decide which kind of overlay to apply.
Any examples or pointers would be greatly appreciated