Project

General

Profile

$pic » History » Version 1

Per Amundsen, 08/06/2015 02:41 AM

1 1 Per Amundsen
_Added in 1.9.1_
2
3
*$pic(filename)*
4
5
Returns the filesize/imagesize of a image file.
6
7
*Parameters*
8
9
filename - Image file to check.
10
11
*Properties*
12
13
.width - Return the image width.
14
.height - Return the image height.
15
.size - Return the image size.
16
17
*Example*
18
19
<pre>
20
; Print width and height of a image file.
21
//echo -ag Image width is $pic(image.jpg).width height is $pic(image.jpg).height
22
</pre>