0.0.3 • Published 2 years ago

@robingenz/capacitor-photo-editor v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Maintainers

MaintainerGitHubSocial
Robin Genzrobingenz@robin_genz

Installation

npm install @robingenz/capacitor-photo-editor
npx cap sync

Configuration

No configuration required for this plugin.

Demo

A working example can be found here: robingenz/capacitor-plugin-demo

Usage

import { PhotoEditor } from '@robingenz/capacitor-photo-editor';

const editPhoto = async () => {
  await PhotoEditor.editPhoto({ path: 'data/image.png' });
};

API

editPhoto(...)

editPhoto(options: EditPhotoOptions) => Promise<void>

Edit a photo at a given path.

Only available for Android.

ParamType
optionsEditPhotoOptions

Interfaces

EditPhotoOptions

PropTypeDescription
pathstringThe path of the file to edit.

Changelog

See CHANGELOG.md.

License

See LICENSE.