rextract.js

0.2.2 • Public • Published

rExtract (region extract)

Rextract JS is an image Region Extraction library. HTML5 based image processing library which helps automatically detect regions of the image to extract. Usually for sprite creation automation process, and custom sprite editors.

Live demo

Usage

Create rExtractor.

new Rextract(imageElement, [hexColor])

.detectAll()

Returns : Array of Rect elements or null

Find all the images inside.

.detectRegion(x, y)

Returns : Rect element or null

Find image at specified position

Readme

Keywords

none

Package Sidebar

Install

npm i rextract.js

Weekly Downloads

0

Version

0.2.2

License

MIT

Last publish

Collaborators

  • linuxenko