L_MarkersSupported

#include "l_bitmap.h"

L_LTFIL_API L_BOOL L_MarkersSupported(nFormat)

Checks whether the given raster file format supports markers.

Parameters

L_INT nFormat

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

Returns

Value Meaning
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

Platforms

Win32, x64, Linux.

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help