Image | Audio | Video |
---|---|---|
X | X |
Returns the width in pixels of an image or video frame.
Include file
Syntax
>>-Width--(--handle--)-----------------------------------------><
Parameters (data type)
Return values (data type)
Width, in pixels (INTEGER)
Examples
Get the file name of all images in the picture column of the employee table that are narrower than 300 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 WIDTH(PICTURE)<300;