Polotno SDK lets you embed a complete image editor inside your app. Users can upload, crop, mask, and manipulate images directly on the same canvas used for text, shapes, or video. The SDK supports raster and vector workflows, including SVG, giving developers full flexibility for creative applications or automation systems. Everything runs client-side or on your own servers, providing complete control over user data, UX, and performance. Image elements are defined in the image element schema, and scalable graphics through the SVG element schema. Both expose parameters like position, scaling, masking, and opacity — enabling precise, programmatic control over any visual layer.
Key features
Upload and placement
Users can upload JPG, PNG, WebP, or SVG files and place them directly on the canvas. Polotno handles decoding, resizing, and aspect ratio management in-browser, with no server upload required.
Cropping and resizing
Crop or scale images interactively, maintaining aspect ratios or applying freeform resizing. Transformations are applied locally and recorded in the schema for reproducibility and automation.
Masking and transparency
Apply shape or gradient masks to any image layer. Use built-in masks or custom SVG shapes to define transparency regions or creative cutouts.
Filters and adjustments
Modify brightness, contrast, saturation, or opacity directly through the API or UI controls. Adjustments are non-destructive and can be stored as schema properties for reapplication or batch processing.
SVG and vector elements
Polotno supports SVG files as first-class elements through the SVG element schema. Developers can manipulate vector shapes programmatically — change paths, fill colors, stroke widths, or apply transformations — enabling hybrid raster/vector designs and dynamic iconography.
Automation and schema control
Every image and vector property — source, size, mask, rotation, opacity, and filter — is accessible through the schema. Use this for automated template generation, AI-assisted layouts, or bulk creative production.
Example use cases
Marketing and ad builders – Automate ad template generation using images, SVGs, and brand assets.
AI design tools – Combine generated visuals or logos with programmatic filters and transformations.
E-commerce platforms – Let sellers create product visuals, banners, or print designs directly in-app.
Print and signage systems – Handle both raster and vector workflows for packaging or large-format output.
Photo personalization apps – Enable background replacement, masking, and quick adjustments for user-generated content.
Creative automation systems – Generate thousands of visual variants programmatically via the schema and cloud rendering API.
Internal creative tools – Let teams produce consistent, on-brand graphics inside private systems.
Developer benefits
Unified canvas for images, text, SVG, and video.
Self-hosted by default, cloud-ready when needed.
Schema-based architecture for automation and reproducibility.
Native support for both raster and vector formats.
Commercial-safe licensing for SaaS and enterprise integrations.
FAQs
Which image formats are supported?
JPG, PNG, WebP, and SVG are supported out of the box.
Can I automate image updates or replacements?
Yes. Every image property is defined in the schema and can be modified programmatically.
Does Polotno support SVG manipulation?
Yes. The SVG element schema enables path, fill, and transformation control for vector graphics.
Can users mix raster images and SVGs?
Yes. Both coexist on the same canvas with unified positioning, scaling, and masking controls.
Is self-hosting possible?
Yes. The SDK runs fully client-side or on your infrastructure for privacy and performance.