width

@get:JvmName(name = "width")
abstract val width: Int

The width of the image.

This is measured in pixels, not blocks, and the pixel measurements are relative to the default texture pack, which renders 16x16 block textures, so a painting that is 16x16 is exactly one block wide.