Layer.imageWidth

Function/Meaning
Image width
Type
Layer class property (read/write)
Description
Specifies the width of the layer image in pixels.
The value can also be set.
Reference
Layer.setImageSize