PIL is certainly capable of this. First you'll want to create an image that contains the repeated text. It should be, oh, maybe twice the size of the image you want to watermark (since you'll need to rotate it and then crop it). You can use Image.new()
to create such an image, then ImageDraw.Draw.text()
in a loop to repeatedly plaster your text onto it, and the image's rotate()
method to rotate it 15 degrees or so. Then crop it to the size of the original image using the crop()
method of the image.
To combine it first you'll want to use ImageChops.multiply()
to superimpose the watermark onto a copy of the original image (which will have it at 100% opacity) then ImageChops.blend()
to blend the watermarked copy with the original image at the desired opacity.
That should give you enough information to get going -- if you run into a roadblock, post code showing what you've got so far, and ask a specific question about what you're having difficulty with.