Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/woxxy/lanczos-js
Trying (failing) to deliver the best resizing algorithm to HTML Canvas via webworkers
https://github.com/woxxy/lanczos-js
Last synced: 9 days ago
JSON representation
Trying (failing) to deliver the best resizing algorithm to HTML Canvas via webworkers
- Host: GitHub
- URL: https://github.com/woxxy/lanczos-js
- Owner: woxxy
- Created: 2011-08-13T10:01:49.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-15T10:35:48.000Z (about 13 years ago)
- Last Synced: 2024-08-01T12:18:21.921Z (3 months ago)
- Language: JavaScript
- Size: 1.01 MB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
lanczos.js aka the death of a dream
===================================Want to wait 7 seconds for an image to display? Then, go on. My only happiness, is that I learned Webworkers (thought it was a bigger deal) and Canvas (thought this would be easier...).
If one day I will get the time, I'll go reading some lanczos stuff and improve this webworker (that, between, sucks).May at least the appearing image of Nagi-sama bring you joy, if you're the unlucky guy who decides to test this out.
----
This is an experiment to bring the lanczos3 algorithm to JavaScript with some decent performance, using the code provided in the [StackOverflow thread](http://stackoverflow.com/questions/2303690/resizing-an-image-in-an-html5-canvas), with some changes to try improving performance - and they did improve, but not enough.
I was just checking if there's any performance gain from using webworkers, but it seems more like an attempt to heat my legs even faster than without the multithreading.