Vips.foreign_flags
Description: Reference for Vips.foreign_flags

### Function

# Vipsforeign_flags

#### Declaration [src]

    VipsForeignFlags
    vips_foreign_flags (
      const char* loader,
      const char* filename
    )

#### Description [src]

Return the flags for `filename` using `loader`. `loader` is something like “tiffload” or “VipsForeignLoadTiff”.

#### Parameters

`loader`

  Type: `const char*`

  Name of loader to use for test.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`filename`

  Type: `const char*`

  File to test.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `VipsForeignFlags`

The flags for `filename`.