IBM Books

Image, Audio, and Video Extenders Administration and Programming

Height


Image Audio Video
X   X

Returns the height, in pixels, of an image or video frame.

Include file

image
dmbimage.h

video
dmbvideo.h

Syntax

>>-Height--(--handle--)----------------------------------------><
 

Parameters (data type)

handle (DB2IMAGE or DB2VIDEO)
Column name or host variable that contains the handle of the image or video.

Return values (data type)

Height in pixels (INTEGER)

Examples

Get the file name of all images in the picture column of the employee table that are shorter than 500 pixels:

EXEC SQL BEGIN DECLARE SECTION;
 char hvImg_fname[251];
EXEC SQL END DECLARE SECTION;
 
EXEC SQL SELECT FILENAME(PICTURE)
     INTO :hvImg_fname
     FROM EMPLOYEE
     WHERE HEIGHT(PICTURE)<500;


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]