HTML5 Canvas Image Size and Crop Basic Web Development Linux