imageWidth

Gets the width of an image.

Arguments

  • path - The path to the image file.

Example

{
  "$template": {
    "test": "{{imageWidth('resources/textures/particle/particles.png')}}"
  }
}