
Botanical
Leafy Sprig Silhouette
Editable SVG · Transparent PNG · 650 × 650 px preview
Python example
Uses this website, so it works without your local library folder.
# ShapeLibrary: Leafy Sprig Silhouette
# Editable SVG: https://shapelibrary.4play.lol/download/94ca75b68109d8fe029b3d0e/shape.svg
from io import BytesIO
from urllib.request import urlopen
from PIL import Image, ImageOps
SHAPE_URL = "https://shapelibrary.4play.lol/download/94ca75b68109d8fe029b3d0e/preview.png"
def load_shape(size=(256, 256), colour=None, angle=0):
with urlopen(SHAPE_URL, timeout=30) as response:
shape = Image.open(BytesIO(response.read())).convert("RGBA")
shape = ImageOps.contain(shape, size, Image.Resampling.LANCZOS)
if colour is not None:
alpha = shape.getchannel("A")
shape = Image.new("RGBA", shape.size, colour)
shape.putalpha(alpha)
if angle:
shape = shape.rotate(angle, Image.Resampling.BICUBIC, expand=True)
return shape
shape = load_shape()
# Paste onto your own canvas: canvas.alpha_composite(shape, (x, y))
# In a notebook: display(shape)
Source pack
halloween-doodle-set-with-cats-silhouette-bat-snake-spider-butterfly
