react-native-perspective-correction-image-view
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

react-native-perspective-correction-image-view

An image view component that corrects the distorted image with its corner points.

image

Installation

yarn add react-native-perspective-correction-image-view

or

npm install react-native-perspective-correction-image-view

Usage

Please take a look at the example app.

<PerspectiveCorrectionImage
   source={require('./sample.png')}
   sourceCorners={[114, 80, 324, 46, 77, 203, 306, 252]}
   sourceWidth={400}
   sourceHeight={300}
   width={200}
   height={150}
   backgroundColor='black'
   ref={perspectiveCorrectionImageRef}
/>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i react-native-perspective-correction-image-view

Weekly Downloads

2

Version

0.1.4

License

MIT

Unpacked Size

76.7 kB

Total Files

15

Last publish

Collaborators

  • leonskim