Parameters: |
- image – The image to overlay on top of the shadow.
- type – PIL Image
- offset (tuple of integers) – Offset of the shadow from the image as an (x,y) tuple.
Can be positive or negative.
- background_color – Background color behind the image.
- shadow_color – Shadow color (darkness).
- border – Width of the border around the image. This must be wide
enough to account for the blurring of the shadow.
- shadow_blur – Number of times to apply the filter. More shadow_blur
produce a more blurred shadow, but increase processing time.
|