Templates & Rendering
Output Formats and Quality
RenderStack supports multiple output formats for rendered images, each suited for different use cases.
Available Formats#
PNG (Default)#
- Best for: Graphics with text, logos, transparency, and sharp edges
- Transparency: Supported — areas without a background color are rendered as transparent
- File size: Larger than JPEG for photographic content
- Quality: Lossless — no compression artifacts
JPEG#
- Best for: Photographs and images where file size matters
- Transparency: Not supported — transparent areas render as white
- File size: Significantly smaller than PNG, especially for photos
- Quality: Adjustable from 1 (smallest file, lowest quality) to 100 (largest file, highest quality). Default is 90.
PDF#
- Best for: Documents, certificates, and print-ready output
- Availability: Requires Pro plan or higher
- Features: Vector-quality text rendering, suitable for high-resolution printing
- Note: PDF output preserves text as selectable text elements rather than rasterizing them
Setting the Format#
Via API#
Include the format parameter in your render request:
```json { "template": "your-template-slug", "format": "jpeg", "quality": 85, "layers": { ... } } ```
Via Dynamic Image URLs#
Append the format query parameter to your GET URL:
``` /api/v1/render?template=your-template-slug&key=YOUR_GET_KEY&format=jpeg&quality=85 ```
Multiple Output Sizes#
On Pro and higher plans, you can generate multiple output sizes from a single render request.
| Plan | Max Output Sizes per Render |
|---|---|
| Starter | 1 |
| Pro | 3 |
| Business | 5 |
| Enterprise | Unlimited |