File size: 866mb
Don't use width and height. Use naturalWidth and naturalHeight instead. These provide the image unscaled pixel dimensions from the image. 13 Dec The Image() constructor creates a new HTMLImageElement instance. width: The width of the image (i.e. the value for the width attribute). 24 Apr methods for manipulating the layout and presentation of img elements. Feature, Chrome, Edge, Firefox (Gecko), Internet Explorer, Opera.