Token导航 LogoToken导航

Agent Skill · 图像处理

syncfusion-react-image-editor(syncfusion React 图像 editor)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

syncfusion-react-image-editor 是图像处理类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在图像处理类的 1,562 个 Skill 里排第 988。

总安装 1,958周安装 80GitHub Stars 1下载 627核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-react-image-editor(syncfusion React 图像 editor)
来源仓库:https://github.com/syncfusion/react-ui-components-skills
仓库路径:skills/syncfusion-react-image-editor
安装命令:
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-image-editor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-image-editor

这个 Skill 是做什么的

图像处理类 Skill 处理生成、裁剪、压缩和批量转换图片的任务。

用于辅助 React 前端页面、组件、样式和交互逻辑的开发与维护。适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

通过 GitHub 安装,支持 Codex、Claude、Cursor、Gemini CLI 等宿主环境。需确保项目已集成 Syncfusion React 组件库,否则可能无法正常运行相关功能。

来源仓库内路径:skills/syncfusion-react-image-editor

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/react-ui-components-skills --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-react-image-editor 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-react-image-editor 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-react-image-editor 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

syncfusion-react-image-editor 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-react-image-editor 用的人多吗?

公开数据是累计安装 1,958 次,近一周安装 80 次,下载 627 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-react-image-editor 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理图像处理类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

图像处理类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
ai-image-generation

AI 图像生成 · Codex、Claude

4,365,552382调用外部服务未明确有提醒
openai-image-gen

OpenAI 图像生成 · OpenClaw

1,906,88432需要联网MIT-0有提醒
image

图像 · OpenClaw

525,99926需要联网MIT-0通过
baoyu-cover-image

宝玉封面图 · Codex、Claude

474,24016,779只读MIT有提醒
baoyu-image-gen

宝玉图像生成器 · Codex、Claude

468,00716,778接触敏感数据MIT通过
syncfusion-react-image-editor

syncfusion React 图像 editor · 本页

1,9581需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Add images or icons as annotations
  • Control position, size, rotation, and opacity
  • Aspect ratio preservation
  • Watermarks and decorative elements

Filters

📄 Read: 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

  • 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

  • Undo/redo operations with 16-step history
  • Keyboard shortcuts (Ctrl+Z, Ctrl+Y)
  • History management and limits

Toolbar Customization

📄 Read: 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

  • 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

  • Resize with or without aspect ratio
  • Width and height parameters
  • Resizing event with before/after dimensions

Frame Decoration

📄 Read: 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

  • Bring forward/send backward annotations
  • Bring to front/send to back
  • Manage annotation layer order

Redact Sensitive Information

📄 Read: 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

  • 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

  • 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

  • Clear editor state
  • Dialog reuse patterns
  • Remove previously loaded images

Fit to Width and Height

📄 Read: 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

  • Render Image Editor within Dialog component
  • Content template integration
  • Dialog show/hide patterns

Reset Image

📄 Read: references/reset-image.md

  • Reset all modifications to original state
  • Restore unmodified version
  • Clear annotations and effects

Quick Start Example

import { ImageEditorComponent } from '@syncfusion/ej2-react-image-editor';
import React from 'react';

function App() {
  let imgObj: ImageEditorComponent;

  function imageEditorCreated(): void {
    imgObj.open('https://ej2.syncfusion.com/react/documentation/image-editor/images/bridge.jpeg');
  }

  return (
    <div>
      <ImageEditorComponent
        ref={(img) => { imgObj = img }}
        width="550px"
        height="350px"
        created={imageEditorCreated}
      />
    </div>
  );
}

export default App;

Common Patterns

Pattern 1: Open + Edit + Save Workflow

  1. Open image via open() method
  2. Apply transformations, annotations, or effects
  3. Use export() to save as PNG/JPEG/SVG/WEBP
  4. Optionally convert to base64 or blob for backend storage

Pattern 2: Responsive Toolbar

  1. Define custom toolbar items in toolbar property
  2. Handle clicks via toolbarItemClicked event
  3. Execute methods like rotate(), zoom(), drawText() based on clicked item
  4. Update contextual toolbar via toolbarUpdating event

Pattern 3: Annotation Workflow

  1. Enable annotation mode (freehand, text, shape)
  2. Customize via shapeChanging event (color, stroke, font)
  3. Delete via deleteShape() with shape ID
  4. Manage layers via z-order methods

Pattern 4: Dialog Integration

  1. Render Image Editor in Dialog's content template
  2. Load image when dialog opens via fileOpened event
  3. Call clearImage() before closing dialog
  4. Retrieve edited image data via export() or getImageData()

Pattern 5: Filter + Finetune Pipeline

  1. Apply filter via applyImageFilter()
  2. Fine-tune via finetuneImage() (brightness, contrast, etc.)
  3. Listen to imageFiltering and finetuneValueChanging events
  4. Combine effects for professional results

Key Properties

PropertyTypePurpose
widthstringEditor canvas width (e.g., "550px", "100%")
heightstringEditor canvas height (e.g., "350px", "100%")
toolbararrayCustomize toolbar items and visibility
fontFamilyobjectAdd custom font families
uploadSettingsobjectConfigure file restrictions (extensions, size)
zoomSettingsobjectSet min/max zoom factors
showQuickAccessToolbarbooleanShow/hide quick access toolbar
localestringSet localization (e.g., 'de-DE')

Key Events

EventTriggerUse Case
createdComponent initializedLoad image on startup
fileOpenedImage loadedAdd watermarks, apply defaults
beforeSaveBefore exportValidate, add metadata
croppingDuring cropPrevent scaling, lock dimensions
zoomingDuring zoomValidate zoom level
rotatingDuring rotateTrack rotation angle
shapeChangingAnnotation modifiedCustomize stroke, font
toolbarUpdatingToolbar renderedAdd/remove contextual items

Supported File Formats

Open: PNG, JPEG, JPG, SVG, WEBP, BMP (local, URL, base64, blob) Save/Export: PNG, JPEG, SVG, WEBP

Next Steps

平台分布

Codex

35.84%
按下载量换算225

Claude

28.01%
按下载量换算176

Cursor

18.24%
按下载量换算114

Gemini CLI

8.74%
按下载量换算55

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills