1.1.1 • Published 4 years ago

photo-snapper-react v1.1.1

Weekly downloads
21
License
-
Repository
-
Last release
4 years ago

Photo Snapper

A npm package for REACT that allows users to take photos directly from the web and save it on their computers. Future functionality will allow users to edit and modify their photos directly from the browser. Also allows user to toggle camera if used in a mobile web browser. You can test it out here: https://photo-snapper.herokuapp.com/.

Installation guide:

Make sure you have npm installed on your computer. Execute the following command to get photo-snapper:

npm i photo-snapper-react

import Photosnapper from 'photo-snapper-react'

All you need are these two lines of code in your body of html file inorder for camera to work:

    <Photosnapper size={[string:hieght, string:width]} />

Compatibility

For Desktop:
Mobile:

Features

  • Allows users to take photo directly through a web browser
  • Uses adapter software design pattern to create a polyfill such that the camera can work on mobile phone
  • Allows users to directly edit their photos through the web browser and safe on their browsers (in progress).

NOTE: For request any issues or request for new features, please email at mj.akhtar@outlook.com.