Skip to content

This repo allows you to select and customize portions on the underlying image.

Notifications You must be signed in to change notification settings

dalekatwork/image-overlay-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Overlay Actions

This repo allows you to select portions of the underlying image.

Table of Contents

  1. Setup
  2. Libraries Used
  3. Component Tree

Setup

yarn
yarn start

Libraries Used

  1. Typescript
  2. Antd: It has the inbuilt popovers and provisions for layout.
  3. react-region-select

Region-Select library is a mod on React Image Crop. This library fits our use-case perfectly, because it has a customizable select portion. It enables actions on the select portion, has inbuilt handling. Converted this library from js to tsx. Next step would be to push my changes as a pull request to the repo, so a maintainable upstream can be created.

Component Tree

It has 3 main components

Sidebar(ToolBar) ObjectList(Right Sidebar) ImageOverlay(Base Logic)

Since ImageOverlay contains all the underlying logic and binds the rest together. The tree is like the following:

App
|
ImageOverlay
|           |
SideBar     ObjectList

About

This repo allows you to select and customize portions on the underlying image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published