@asaddevworld/image-crop 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
# rn-image-crop
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@asaddevworld/image-crop)
|
|
4
|
+
|
|
3
5
|
An image cropper for React Native. The picture sits under a fixed frame: pinch to zoom around your fingers, drag to move, rotate with two fingers or in quarter turns, pick an aspect preset, and the image never leaves the frame empty. Crop exports the frame at any pixel size through Skia. Gestures run on the UI thread with Reanimated and Gesture Handler.
|
|
4
6
|
|
|
5
7
|
|
|
6
|
-
https://github.com/
|
|
8
|
+
<a href="https://github.com/asadDevWorld/rn-image-crop/blob/main/docs/demo.mp4"><img src="https://raw.githubusercontent.com/asadDevWorld/rn-image-crop/main/docs/demo.gif" width="300" alt="rn-image-crop demo" /></a>
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
|
|
10
|
-
_Demo recorded on the iOS Simulator from the example app: [docs/demo.mp4](docs/demo.mp4)._
|
|
12
|
+
_Demo recorded on the iOS Simulator from the example app, shown at 2x speed. Full video: [docs/demo.mp4](docs/demo.mp4)._
|
|
11
13
|
|
|
12
14
|
## Install
|
|
13
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asaddevworld/image-crop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Image cropper for React Native: pinch, pan and rotate with Reanimated, aspect presets, grid overlay, and Skia export at any size",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|