ArtistAPhoto Documentation

Complete documentation for the ArtistAPhoto image editing SDK.

Getting Started

ArtistAPhoto is a powerful browser-based image editing SDK that provides a complete toolkit for image manipulation. With support for filters, adjustments, transformations, text overlays, shapes and full undo/redo functionality, it's designed to integrate seamlessly into any web application.

Key Features

  • 10 Professional Filters — Grayscale, sepia, blur, sharpen, vintage, invert, vignette, posterize, pixelate, edge detection
  • 5 Image Adjustments — Brightness, contrast, saturation, exposure, temperature
  • Transformations — Crop, resize with quality control
  • Overlays — Text with full styling, shapes (rectangles, ellipses)
  • Non-destructive Editing — Original image preserved, full undo/redo
  • High Performance — Web Workers for heavy operations
  • TypeScript Ready — Full type definitions included
  • Multiple Export Formats — JPEG, PNG, WebP

Quick Example

import { ArtistAPhoto } from 'artistasdk';

// Load an image
const editor = await ArtistAPhoto.fromFile(file);

// Apply edits
editor
  .crop({ x: 50, y: 50, width: 400, height: 400 })
  .filter('vintage', 0.8)
  .brightness(10)
  .resize(800, 600);

// Download result
await editor.download('edited-photo.jpg', 'image/jpeg', 0.9);