Back to skills
SKILL.md
Using Python Pilpillow
ASecuritySub-skill of canvas-design: Using Python (PIL/Pillow) (+2).
- 17 stars
- 0 votes
- 0 copies
- 1 view
- Added September 9, 2026
Security analysis
100/100npx -y skills add vamseeachanta/workspace-hub --skill using-python-pilpillow --agent claude-codeAre you the author of Using Python Pilpillow?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-using-python-pilpillow)---
name: canvas-design-using-python-pilpillow
description: 'Sub-skill of canvas-design: Using Python (PIL/Pillow) (+2).'
version: 2.0.0
category: business
type: reference
scripts_exempt: true
---
# Using Python (PIL/Pillow) (+2)
## Using Python (PIL/Pillow)
```python
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.*
Attribution
Comments
Loading comments…