React OpenCV Manipulation and Image Narration & Editing
git clone https://github.com/DanielBailey-web/romaine;
cd romaine;
yarn install;
yarn dev;
This package is very much a work in progress with new minor versions (with potentially breaking changes with every update).
Currently minor changes will be breaking until a stable 1.0.0 release. Semantic versioning will be used post stable release.
- Image Cropping
- Perspective Cropping
- Image Rotation
- Image Quality
- SSR Support with Next
Parameter | Type | Description | Default | Context Alternative |
---|---|---|---|---|
angle |
number |
Turn angle for rotation tool | 90 |
setAngle(90) |
Changing props triggers the Context Alternative, which can cause an un-needed render of some components. To avoid this you can use the context alternative yourself.
Romaine is now a monorepo! This makes setting up the development environment much easier! Just clone the master branch to get started!
Contributors are welcome, just create a pull request.
- Create a minified production build
- Create a code sandbox demo
- Basic use case (completed, see romaine-components)
- History
- Reinitialize (completed)
- Undo (completed)
- Redo
- Layers
- Tests
- Add Jest
- Add tests starting with util
- Switch state management from context to redux
- Cropping
- Perspective (completed)
- Regular
- Crop the image (completed)
- Lock aspect ratio
- Basic border recognition (completed)
- Filters
- Grey scale
- Brightness
- Hue
- Retro
- Pop-art
- Rotation
- Allow for image roration (currently working with 90 degree increments)
- Change angle of rotation
- Update Function from useRomaine (completed)
- Prop for Romaine (completed)
<Romaine angle={90}>
- Zooming
- Zoom in and out of the image (creating transparent padding around the image)
- Make cropper be able to be moved via drag
- Planning on changing locations of context functions for cleaner destructuring (0.8.0)
@Giacomocerquone publisher of react-perspective-cropper (MIT)
@opencv creaters of computer vision software this package relies on (3-clause BSD)