Edit in GitHubLog an issue

XMPFileInfo

Since: v7.2.0 This object is returned by XMPFile.getFileInfo. The read-only properties describe the file represented by the XMPFile object.

filePath : string

Read only The absolute path of the file, in JavaScript notation.

format : number

Read only One of the file-format constants. See File format numeric constants.

handlerFlags : number

Read only The features that are supported for this format. A logical OR of these bit-flag constants:
- XMPConst.HANDLER_CAN_INJECT_XMP - Can inject first-time XMP into an existing file.
- XMPConst.HANDLER_CAN_EXPAND - Can expand XMP or other metadata in an existing file.
- XMPConst.HANDLER_CAN_REWRITE - Can copy one file to another, writing new metadata.
- XMPConst.HANDLER_PPEFERS_IN_PLACE - Can expand, but prefers in-place update.
- XMPConst.HANDLER_CAN_RECONCILE - Supports reconciliation between XMP and other forms.
- XMPConst.HANDLER_ALLOWS_ONLY_XMP - Allows access to just the XMP, ignoring other forms.
- XMPConst.HANDLER_RETURNS_RAW_PACKETS - File handler returns raw XMP packet information.
- XMPConst.HANDLER_RETURNS_TNAIL - File handler returns native thumbnail.
- XMPConst.HANDLER_OWNS_FILE - File handler does the file open and close.
- XMPConst.HANDLER_ALLOWS_SAFE_UPDATE - File handler allows crash-safe file updates.

openFlags : number

Read only The options with which this file was opened. One of these constants:
- XMPConst.OPEN_FOR_READ - Open for read-only access.
- XMPConst.OPEN_FOR_UPDATE - Open for reading and writing.
- XMPConst.OPEN_ONLY_XMP - Only the XMP is wanted, allows space/time optimizations.
- XMPConst.OPEN_STRICTLY - Be strict about locating XMP and reconciling with other forms.
- XMPConst.OPEN_USE_SMART_HANDLER - Require the use of a smart handler. No packet scanning is performed.
- XMPConst.OPEN_USE_PACKET_SCANNING - Force packet scanning, do not use a smart handler.
- XMPConst.OPEN_LIMITED_SCANNING - Only packet-scan files known to need scanning.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.