width

Returns the actual dimensions of the data in the ImageData object, in pixels.

MDN Reference