Open confile opened 11 years ago
Maybe we could implement some extra parameter for stepped scaling? Any better ideas?
Hey guys! I know it's kinda old post, but I just ran into this issue and used Hermit-resize algorithm to create a Caman plugin... Load the plugin and use it just like resize resample_plugin.js.txt
Resize will lead to very bad quality when you scale down drawImage leads to a bad quality when you scale down in one step.
You will get a much better quality if you scale down in steps:
See this post: http://stackoverflow.com/questions/18761404/how-to-scale-images-on-a-html5-canvas-with-better-interpolation
http://stackoverflow.com/questions/17861447/html5-canvas-drawimage-how-to-apply-antialiasing
http://stackoverflow.com/questions/2303690/resizing-an-image-in-an-html5-canvas
Do you have a way implemented to get high quality results for down scaling?