ShapeLibraryUse with ChatGPT
Opposed Corner Rounded Block

Geometry & Abstract

Opposed Corner Rounded Block

SVG PNG

Editable SVG · Transparent PNG · 650 × 650 px preview

Python example

Uses this website, so it works without your local library folder.

Download .py
# ShapeLibrary: Opposed Corner Rounded Block
# Editable SVG: https://shapelibrary.4play.lol/download/017c2aa33944e4c1a7877e67/shape.svg
from io import BytesIO
from urllib.request import urlopen
from PIL import Image, ImageOps

SHAPE_URL = "https://shapelibrary.4play.lol/download/017c2aa33944e4c1a7877e67/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

abstract-geometric-shapes-collection-vector