Learning to create a simple image inpainting widget where users can upload an image, draw a mask, and export the original image with the mask.
- Upload an image (JPEG/PNG).
- Draw a mask on the image using a brush tool.
- Export the original image and mask as a pair.
-
Clone the repository:
git clone https://github.com/Achyuth072/image-inpainting-widget.git
-
Navigate into the project directory:
cd image-inpainting-widget
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
- Fabric.js: Canvas library for creating and manipulating images.
- React: JavaScript library for building user interfaces.