Skip to content

Quozul/canvas-image

Repository files navigation

canvas-image

A canvas to view image, zoom and pan.

Usage

Vanilla HTML

<canvas-image src="https://quozul.github.io/canvas-image/image-landscape.jpg"></canvas-image>
<script src="https://quozul.github.io/canvas-image/canvas-image.js"></script>

⚠️ GitHub Pages is not a CDN, so you should download the canvas-image.js file locally!

About

A canvas to view image, zoom and pan

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published