pictsize()

Function group Execute on client Platform(s)
Picture NO All

Syntax

pictsize(source-data,width,height)

Description

Sets width and height to the width and height of the picture stored in the supplied binary or picture source-data.

If the function fails, for example because it cannot recognize the format of the data, then width and height will be zero.

Example

Do pictsize(lJpegData,lWidth,lHeight)
; returns the width and height of lJpegData