Canvas to resize picture

Canvas with resized image

DataURL