Skip to content

ImageSize

module ImageSize
AssemblyNacara.Plugin.Markdown
Attributes[<RequireQualifiedAccess>]

The size of an image, read from the start of its file.

PNG, GIF, JPEG, WebP, AVIF and SVG. A JPEG rotated by its EXIF orientation is given as it is displayed.

Functions and values

read (path: string) : (int * int) option

The width and height of an image, in pixels.

Parameter
pathThe image file.