Photo Editor
Photo Editor
@capawesome/capacitor-photo-editor
Capacitor plugin that allows the user to edit a photo.
Maintainers¶
Maintainer | GitHub | Social |
---|---|---|
Robin Genz | robingenz | @robin_genz |
Sponsors¶
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.
Installation¶
Configuration¶
No configuration required for this plugin.
Demo¶
A working example can be found here: robingenz/capacitor-plugin-demo
Usage¶
import { PhotoEditor } from '@capawesome/capacitor-photo-editor';
const editPhoto = async () => {
await PhotoEditor.editPhoto({ path: 'data/image.png' });
};
API¶
editPhoto(...)¶
Edit a photo at a given path.
Only available for Android.
Param | Type |
---|---|
options |
EditPhotoOptions |
Interfaces¶
EditPhotoOptions¶
Prop | Type | Description |
---|---|---|
path |
string |
The path of the file to edit. |
Changelog¶
See CHANGELOG.md.
License¶
See LICENSE.