measure

Measure this image's natural dimensions.

measure(): Promise<Size

Returns

  • Promise<Size> – The width and height in pixels. Warning: values may be zero.