Note: This feature is available in Web Workers.
The ImageBitmap.width read-only property returns the ImageBitmap object's width in CSS pixels.
ImageBitmap.width
ImageBitmap
A number represents the ImageBitmap object's width in CSS pixels.