Layer.imageWidth

Function/Meaning
Image width
Type
Layer Class Properties
Explanation

Specifies the width of the layer's image in pixels.
You can also set the value.

Reference
Layer.setImageSize