
Water & Weather
Scallop Shell Silhouette
Editable SVG · Transparent PNG · 650 × 650 px preview
Python example
Uses this website, so it works without your local library folder.
# ShapeLibrary: Scallop Shell Silhouette
# Editable SVG: https://shapelibrary.4play.lol/download/412e9aaf805a0526ec7f7bf0/shape.svg
from io import BytesIO
from urllib.request import urlopen
from PIL import Image, ImageOps
SHAPE_URL = "https://shapelibrary.4play.lol/download/412e9aaf805a0526ec7f7bf0/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
seashell-silhouette-icon-collection-isolated-white-background
