Project

General

Profile

Actions

$pic » History » Revision 1

Revision 1/2 | Next »
Per Amundsen, 08/06/2015 02:41 AM


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

Updated by Per Amundsen over 8 years ago · 1 revisions

Also available in: PDF HTML TXT