HTML5 scale bitmap smoothing antialiasing

Perhaps a better resize algorithm could be implemented in code, something to go from a large BitmapData to a small one, using a new algorithm?