Watermarks and Overlays¶
Add watermark images and branded overlays to protect and brand your content.
Parameters¶
wm_url
¶
URL or path to the watermark image.
Type: string
(URL or path)
Format: Absolute URL or relative path
Supported formats: PNG, JPG, GIF, WebP, SVG
wm_pos
¶
Position the watermark on the base image.
Type: string
Values: center
, northeast
, northwest
, southeast
, southwest
, north
, south
, east
, west
Default: center
wm_opacity
¶
Control watermark transparency.
Type: float
Range: 0.0
- 1.0
Default: 0.5
(50% opacity)
Usage¶
Basic Watermark¶
Add logo watermark with 70% opacity at center.Positioned Watermark¶
Place brand watermark in top-right corner.Subtle Copyright¶
Add subtle copyright notice in bottom-right.Positioning Guide¶
Corner Positions¶
northeast
: Top-right cornernorthwest
: Top-left cornersoutheast
: Bottom-right cornersouthwest
: Bottom-left corner
Edge Positions¶
north
: Top centersouth
: Bottom centereast
: Right centerwest
: Left center
Center Position¶
center
: Exact center of image
Watermark Design Best Practices¶
Opacity Levels¶
- 0.1-0.3: Very subtle, barely visible
- 0.3-0.5: Subtle but present
- 0.5-0.7: Clearly visible but not dominating
- 0.7-1.0: Strong presence, brand protection
Watermark Image Guidelines¶
- PNG format with transparency for best results
- White/light logos work well with low opacity
- Size: 15-25% of base image width for optimal visibility
- Simple designs reproduce better at small sizes
- High contrast elements ensure visibility across different backgrounds
Use Cases¶
Photography Protection¶
Protect photographer's work with subtle branding.Stock Photography¶
Prevent unauthorized use with prominent watermark.Social Media Branding¶
Brand social media posts consistently.Product Documentation¶
Add company branding to product images.Event Photography¶
Brand event photos with event logo.Advanced Watermarking¶
Multi-Brand Strategy¶
For different watermarks based on usage:
Internal use (high quality, subtle):
External use (more prominent):
Dynamic Watermark URLs¶
Using external watermark sources:
Responsive Watermarking¶
Adjust watermark for different sizes:
Large images:
Thumbnails:
Technical Considerations¶
Watermark Image Requirements¶
- Optimal size: 200-500px width for most applications
- Format: PNG with alpha channel for transparency
- Color: Light colors (white, light gray) for dark opacity overlay
- Resolution: High resolution for quality scaling
Performance Impact¶
- Watermarking adds minimal processing time
- Watermark images are cached for performance
- Larger watermarks require more processing
- Results cached at edge for subsequent requests
Security Considerations¶
- Watermark URLs must be accessible
- Use HTTPS for external watermark sources
- Consider watermark image versioning for updates
- Relative paths work for same-domain watermarks
Common Patterns¶
Photography Studio¶
Real Estate¶
E-commerce Protection¶
News/Media¶
Creative Agency¶
Troubleshooting¶
Watermark Not Visible¶
- Check watermark URL accessibility
- Increase opacity value
- Verify watermark image format (PNG recommended)
- Ensure sufficient contrast with base image
Poor Quality Watermark¶
- Use higher resolution watermark source
- Check watermark image compression
- Consider watermark design complexity
- Test different opacity levels
Performance Issues¶
- Optimize watermark image file size
- Use cached watermark URLs when possible
- Consider watermark dimensions relative to base image
- Monitor processing times with large watermarks
Examples by Industry¶
Wedding Photography¶
wedding.jpg?wm_url=/photographer-signature.png&wm_pos=southeast&wm_opacity=0.35&brightness=5&contrast=10