Skip to content

Canvas image resize/resample using Hermite filter with JavaScript.

Notifications You must be signed in to change notification settings

walhallyus/Hermite-resize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hermite-resize

Fast image resize/resample using Hermite filter with JavaScript.

demo: http://viliusle.github.io/miniPaint/
fiddle: http://jsfiddle.net/9g9Nv/96/

Single core:

hermite.js - main function, fastest way.

Multi-core*:

worker-handler.js - function that splits image, sends each peace to resize and combines results
worker-hermite.js - worker, must be in same domain

  • slower than single core, because sharing resources, combining takes additional time. And there are no ways to get CPU count with JS.

About

Canvas image resize/resample using Hermite filter with JavaScript.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%