Sunday, 15 September 2013

javascript - What is the algorithm used by html5 canvas to resize images? -



javascript - What is the algorithm used by html5 canvas to resize images? -

in general final quality pretty decent unless there subtle details in image, hair example. downsized image results on sharped version of itself. default algoritm used canvas image resizing?

is there way accomplish improve result?

according test results , scattered info around web, canvas uses nearest member. although specs not forcefulness specific algorithm. there talk in mozilla switching bilinear instead, seems wasn't yet implemented in browser.

javascript html5 canvas image-resizing

No comments:

Post a Comment