L_MarkersSupported - Raster Imaging C API Help

L_MarkersSupported

#include "l_bitmap.h"

L_LTFIL_API L_BOOL L_MarkersSupported(nFormat)

L_INT nFormat;

file format

Checks whether the given raster file format supports markers.

Parameter

Description

nFormat

Input file format. For valid values, refer to Files To Be Included With Your Application.

Returns

TRUE

The format supports markers.

FALSE

The format does not support markers.

Comments

The L_LoadMarkers and L_EnumMarkers functions can be used to read the markers stored in a file. If the file format supports markers, such as EXIF, then these functions will successfully return the markers stored. However, if the format does not support markers, such as BMP, an error will be returned by these functions. You can use the L_MarkersSupported function to check if the file supports markers and only call the read markers functions if the return value is TRUE.

For general information about markers, refer to Working with Markers.

Required DLLs and Libraries

LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64, Linux.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help