Skip to content

aitchFactor/xBRjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xBRjs

JS implementation of the xBR image scaling algorytm by Hyllian.

How to use

  • 2x, 3x and 4x modes
  • Option to disabling alpha blending
  • Option to use the original implementation of the 3x mode

Usage:

var resultCanvas = applyXBR(image, 2);

The first parameter is a loaded image, and the second is the scaling factor (2, 3 or 4). A canvas with the scaled image will be returned.

Demo

Check it out here.

About

JS implementation of the xBR image scaler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%