This project has been moved to the following monorepo: capawesome-team/capacitor-plugins.
@capawesome/capacitor-photo-editor
Capacitor plugin that allows the user to edit a photo.
Maintainer | GitHub | Social |
---|---|---|
Robin Genz | robingenz | @robin_genz |
This is an MIT-licensed open source project. It can grow thanks to the support by these awesome people. If you'd like to join them, please read more here.
npm install @capawesome/capacitor-photo-editor
npx cap sync
No configuration required for this plugin.
A working example can be found here: robingenz/capacitor-plugin-demo
import { PhotoEditor } from '@capawesome/capacitor-photo-editor';
const editPhoto = async () => {
await PhotoEditor.editPhoto({ path: 'data/image.png' });
};
editPhoto(options: EditPhotoOptions) => Promise<void>
Edit a photo at a given path.
Only available for Android.
Param | Type |
---|---|
options |
EditPhotoOptions |
Prop | Type | Description |
---|---|---|
path |
string |
The path of the file to edit. |
See CHANGELOG.md.
See LICENSE.