Project

General

Profile

Added in 1.9.1

$pic(filename)

Returns the filesize/imagesize of a image file.

Parameters

filename - Image file to check.

Properties

.width - Return the image width.
.height - Return the image height.
.size - Return the image size.

Example

; Print width and height of a image file.
//echo -ag Image width is $pic(image.jpg).width height is $pic(image.jpg).height

Also available in: PDF HTML TXT