0.2.2 • Published 8 years ago

rextract.js v0.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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.

npm.io

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

0.2.2

8 years ago

0.2.1

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago