Skip to content

deathcap/ndarray-upsample-epx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ndarray-upsample-epx

EPX (Eric's Pixel Expansion) scaling algorithm implementation in JavaScript

Build Status

Usage:

var epx = require('ndarray-upsample-epx');

epx(out, inp);

where inp is a 2-dimensional ndarray, and out is as well but double in size. The image will be scaled up by 2x.

Example in demo.js, input:

.....
.***.
.*.*.
.***.
.....

output:

..........
..........
...****...
..******..
..**..**..
..**..**..
..******..
...****...
..........
..........

References

License

MIT

About

EPX scaling algorithm for pixel art

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published