Skip to content

d2-projects/xbrz

Repository files navigation

JavaScript 中的 xBRZ 算法实现

high quality image upscaling filter by Zenju

npm

在包管理器中引入

npm i @d2-projects/xbrz
import xbrz from '@d2-projects/xbrz'

在浏览器中引入

<script src="https://cdn.jsdelivr.net/npm/@d2-projects/xbrz/dist/xbrz.js"></script>

使用

xbrz.scaleToCanvas({
  source: './source.png',
  canvas: document.querySelector('#canvas'),
  scale: 6
})

算法实现

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published