UNPKG

filepond-plugin-image-crop

Version:
11 lines (6 loc) 704 B
# Image Crop plugin for FilePond [![npm version](https://badge.fury.io/js/filepond-plugin-image-crop.svg)](https://badge.fury.io/js/filepond) https://pqina.nl/filepond/docs/patterns/plugins/image-crop/ The Image crop plugin automatically calculates and adds cropping information based on the input image dimensions and the set crop ratio. The [Image preview plugin](https://github.com/pqina/filepond-plugin-image-preview) uses this information to show the correct preview. The [Image transform plugin](https://github.com/pqina/filepond-plugin-image-transform) uses this information to transform the image before uploading it to the server. [Demo](https://pqina.github.io/filepond-plugin-image-crop/)