## Aurigma Image Uploader 7.0.35

# file.format Property

- Collapse All Sections
- Language Filter ( all languages )
- Supported browsers:

Gets a file format of the user-selected file.

## Syntax

### JavaScript

### Get/Set Value at Runtime

    value = $au.uploader('uploaderID').files().get(index).format();

### Property Value

Type: String

The format of this file. The following values are supported:

Unknown | Unknown file format.
JPEG | JPEG file format.
BMP | BMP file format.
PNG | PNG file format.
PCX | PCX file format.
WBMP | WBMP file format.
GIF | GIF file format.
PSD | PSD file format.

## Remarks

Note

Do not confuse this property with type. File format returned through this property is determined with Image Uploader by analyzing file content (rather than the file extension). In the same time the file type is retrieved from system (determined via the file extension).