Image Data Types

When you define a field to store image data, there are a number of data types available. These data types are all variations of the Image data type.

Image Data Types

Data Type

Representation

Uniface Action

I, or Image

Image (any source)

Detects the image format and deals with it accordingly.

I#

Image (database)

Image is assumed to come from an occurrence in the database (BLOB).

I@

Image (disk file)

Image is assumed to come from a disk file.

I^

Image (glyph)

Image is assumed to be a glyph and is retrieved from a library.

I&

Image (url)

Image is assumed to be a file served by a Web server. Only for use in server pages.

The advantage of the I^ and I@ data types is that you only need to specify the name of the image or glyph in the field, and Uniface loads the image file or glyph, as appropriate.

Related Topics