Agent skill
canvas-design-using-python-pilpillow
Sub-skill of canvas-design: Using Python (PIL/Pillow) (+2).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/business/content-design/canvas-design/using-python-pilpillow
SKILL.md
Using Python (PIL/Pillow) (+2)
Using Python (PIL/Pillow)
from PIL import Image, ImageDraw, ImageFont
import math
# Create canvas
width, height = 2400, 3200
canvas = Image.new('RGB', (width, height), '#0a0a0a')
draw = ImageDraw.Draw(canvas)
# Geometric composition
*See sub-skills for full details.*
## Using Cairo (Vector Graphics)
```python
import cairo
import math
width, height = 2400, 3200
surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, width, height)
ctx = cairo.Context(surface)
# Background
ctx.set_source_rgb(0.04, 0.04, 0.04)
*See sub-skills for full details.*
## Using SVG (for PDF conversion)
```python
import svgwrite
dwg = svgwrite.Drawing('composition.svg', size=('24in', '32in'))
# Background
dwg.add(dwg.rect(insert=(0, 0), size=('100%', '100%'), fill='#0a0a0a'))
# Geometric elements
for i in range(20):
*See sub-skills for full details.*
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?