syncfusion-react-image-editor
Master Syncfusion React Image Editor for comprehensive image editing. Use this when users need to edit images, add annotations, apply filters, manage layers, or implement image editing features. Supports multiple formats (PNG, JPEG, SVG, WEBP, BMP), annotations (text, shapes, freehand, images), effects (filters, finetune), and accessibility features.
What this skill does
# Implementing Syncfusion React Image Editor
The Syncfusion React Image Editor is a comprehensive, feature-rich component for editing images directly in your React applications. It provides an intuitive interface with powerful tools for transformations, annotations, effects, and more.
## Component Overview
The Image Editor combines a canvas-based editing environment with a comprehensive toolbar and contextual tools. It supports:
- **Multiple Input Sources:** Files, URLs, base64, blobs, file managers, treeviews
- **Rich Annotation Support:** Text (with styling), shapes, freehand drawings, watermarks
- **Professional Effects:** Filters and fine-tuning controls
- **Advanced Operations:** Z-order management, redaction, frame decoration
- **Accessibility First:** Full keyboard navigation, WCAG compliance, RTL support, 120+ localization keys
- **Flexible Integration:** Standalone or within dialogs, with customizable toolbars
## Documentation and Navigation Guide
### ๐น API Reference
๐ **Read:** [references/api.md](references/api.md)
- Complete API documentation with all properties, methods, and events
- Properties overview (core, toolbar, settings)
- Methods for image operations, transformations, annotations
- Events for lifecycle, interactions, effects, and toolbars
- Enums and type definitions (ArrowheadType, FrameType, RedactType, etc.)
- Complete working examples with verified method signatures
### Getting Started
๐ **Read:** [references/getting-started.md](references/getting-started.md)
- Installation with Vite and create-react-app
- CSS imports and theme setup
- Basic component initialization
- Setting width, height, and initial rendering
### Opening and Saving Images
๐ **Read:** [references/opening-saving-images.md](references/opening-saving-images.md)
- Open from file paths, URLs, base64 strings, blobs
- Open from file uploader, file manager, and treeview
- Save/export as PNG, JPEG, SVG, WEBP
- Image dimensions and aspect ratio control
- File opened, saving, and lifecycle events
### Selection and Cropping
๐ **Read:** [references/selection-cropping.md](references/selection-cropping.md)
- Insert custom, square, and circle selections
- Crop with aspect ratios (2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 5:7, 7:5, 9:16, 16:9)
- Crop method and selection events
- Maintain original image size during cropping
- Lock selection area during resizing
### Transform: Rotate, Flip, and Straighten
๐ **Read:** [references/transform-rotate-flip.md](references/transform-rotate-flip.md)
- Rotate clockwise/counter-clockwise by degrees
- Flip horizontally and vertically
- Straighten images with fine degree adjustments (-45ยฐ to +45ยฐ)
- Transform annotations along with image
- Rotating and flipping events
### Zoom and Pan Operations
๐ **Read:** [references/zooming-panning.md](references/zooming-panning.md)
- Zoom in/out with configurable min/max factors
- Pan when zoomed or during cropping
- Zoom triggers (toolbar, pinch, mouse wheel, keyboard)
- Zooming and panning events
- Zoom point calculations
### Text Annotations
๐ **Read:** [references/text-annotations.md](references/text-annotations.md)
- Add text with position, content, and font settings
- Text styling (bold, italic, underline, strikethrough)
- Font families, sizes, and colors
- Multiline text with newline characters
- Delete text annotations
- Customize font color via shapeChanging event
### Freehand Drawing
๐ **Read:** [references/freehand-drawing.md](references/freehand-drawing.md)
- Enable/disable freehand drawing mode
- Customize stroke width and color
- Delete freehand annotations
- Adjust stroke during drawing via shapeChanging event
### Shape Annotations
๐ **Read:** [references/shape-annotations.md](references/shape-annotations.md)
- Draw rectangles, ellipses, lines, arrows, and paths
- Customize shapes with stroke color, stroke width, and fill color
- Rotate shapes with degree parameter
- Delete shape annotations
- Customize default stroke colors
- Shape changing and customization events
### Image Annotations
๐ **Read:** [references/image-annotations.md](references/image-annotations.md)
- Add images or icons as annotations
- Control position, size, rotation, and opacity
- Aspect ratio preservation
- Watermarks and decorative elements
### Filters
๐ **Read:** [references/filters.md](references/filters.md)
- Apply predefined filters (Chrome, Cold, Warm, Grayscale, Sepia, Invert)
- Image filtering event
- Reset filter to original
### Fine-Tuning
๐ **Read:** [references/finetune.md](references/finetune.md)
- Adjust brightness, contrast, saturation
- Control hue, exposure, blur, opacity
- Finetune value changing events
- Real-time adjustments with sliders
### Undo and Redo
๐ **Read:** [references/undo-redo.md](references/undo-redo.md)
- Undo/redo operations with 16-step history
- Keyboard shortcuts (Ctrl+Z, Ctrl+Y)
- History management and limits
### Toolbar Customization
๐ **Read:** [references/toolbar-customization.md](references/toolbar-customization.md)
- Built-in toolbar items (20+ default tools)
- Add, remove, enable, disable toolbar items
- Custom toolbar items with event handlers
- Contextual toolbar for annotations
- Toolbar templates for complete customization
- Toolbar created and item clicked events
### Quick Access Toolbar
๐ **Read:** [references/quick-access-toolbar.md](references/quick-access-toolbar.md)
- Quick access toolbar for annotations
- Show/hide quick access toolbar
- Add custom items to quick access toolbar
- Quick access toolbar open event
### Resize Image
๐ **Read:** [references/resize-image.md](references/resize-image.md)
- Resize with or without aspect ratio
- Width and height parameters
- Resizing event with before/after dimensions
### Frame Decoration
๐ **Read:** [references/frame-decoration.md](references/frame-decoration.md)
- Apply frames (Mat, Bevel, Line, Inset, Hook)
- Customize frame color, size, and line style
- Frame changing event
### Z-Order Layering
๐ **Read:** [references/z-order-layering.md](references/z-order-layering.md)
- Bring forward/send backward annotations
- Bring to front/send to back
- Manage annotation layer order
### Redact Sensitive Information
๐ **Read:** [references/redact-sensitive-info.md](references/redact-sensitive-info.md)
- Blur sensitive areas
- Pixelate sensitive information
- Redact CRUD operations (select, update, delete, get)
- Privacy and compliance
### Accessibility and Localization
๐ **Read:** [references/accessibility-localization.md](references/accessibility-localization.md)
- WCAG 2.2, Section 508 compliance
- Screen reader support
- Keyboard shortcuts (Ctrl+Z, Ctrl+S, Ctrl+O, Delete, Enter, Escape)
- RTL language support
- Localization with 120+ locale keys
### Image Restrictions and Validation
๐ **Read:** [references/image-restrictions-validation.md](references/image-restrictions-validation.md)
- Allowed file extensions (.jpg, .png, .svg, .webp, .bmp)
- Min and max file size restrictions
- File validation and error alerts
### Clear Image
๐ **Read:** [references/clear-image.md](references/clear-image.md)
- Clear editor state
- Dialog reuse patterns
- Remove previously loaded images
### Fit to Width and Height
๐ **Read:** [references/fit-width-height.md](references/fit-width-height.md)
- Fit image to editor container width
- Fit image to editor container height
- Zoom calculations for perfect fit
### Render in Dialog
๐ **Read:** [references/render-in-dialog.md](references/render-in-dialog.md)
- Render Image Editor within Dialog component
- Content template integration
- Dialog show/hide patterns
### Reset Image
๐ **Read:** [references/reset-image.md](references/reset-image.md)
- Reset all modifications to original state
- Restore unmodified version
- Clear annotations and effects
## Quick Start Example
```tsx
import { ImageEditorComponent } from '@syncfusion/ej2-react-image-editor';
import React from 'react';
function App() {
let imgObj: ImageEditorComponent;
function imageEditorCreRelated in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.