Reputation: 83348
I am working on 2d and downscaling photos on it for upload. I draw them only using 90 degree steps.
What parameters affect drawImage() quality in different browsers? I'd like to sacrifice speed over quality when drawing the images, so that the quality of the output is maximized.
Any tricks with subpixel adjustments?
Any luck using webGL canvas and draw images there? Would it give more options for preserving image quality during scale?
Photos can be 2 mpix - 10 mpix range.
EDIT: Looks like it is not possible on webGL because texture sizes are limited to 512 x 512 or 2048 x 2048.
Upvotes: 2
Views: 1126
Reputation: 534
Can you be more specific? I'm not getting what exactly you want.
But as long as drawImage is concerned you should go through Mozilla Spec of drawImage
Upvotes: 1