Sample Image
This image has it's height clipped to 300x300px using the height attribute in the html img tag.
Image drawn using canvas