ImageTools

User Documentation: Functions: calcsize

array calcsize( string calc [, int width [, int height]] )

Description

Calculates size.

Parameters

calc Refer to Resizing
width Width number value in pixels.
[ If false, $vif->size["width"] is used. ]
height Height number value in pixels.
[ If false, $vif->size["height"] is used. ]

Usage

$vif->calcsize($calc, $width, $height);