ImageTools

User Documentation: Functions: calcpreview

array calcpreview( int size [, int width [, int height]] )

Description

Calculates preview size.

Parameters

size Size number value in pixels.
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->calcpreview($size, $width, $height);