Skip to end of metadata
Go to start of metadata

Implemented By

Supported Methods

Description of Methods

SetUrl(url as String) as Void

Set the URL to the image. Only file urls are supported.

GetMetadata() as Object

Returns an associative array with set of simple and common image metadata. This associative array includes:

Name

Type

Notes

width

Integer

Width of the image in pixels.

height

Integer

Height of the image in pixels.

orientation

String

"portrait" or "landscape"

datetime

roDateTime

The creation time of the image such as the time a photo was taken.

comment

String

User specified comment string. This is often referred to as a caption.

GetThumbnail() as Object

Returns a thumbnail image if one is embedded in the image metadata. This will not generate a thumbnail if one doesn't already exist. Returns an AssociateArray with two entries: "bytes" and "type". "bytes" is an roByteArray with the image data. "type" specifies the type of image which is most likely "image/jpeg" but could be something else like "image/png".

GetRawExif() as Object

Returns an associative array with all of the raw EXIF metadata. See the EXIF section below for more details.

GetRawExifTag(ifd as Integer, tag as Integer) as Dynamic

Returns the raw data for one Exif tag. Returns invalid if that tag does not exist. This is useful for direct access to a raw EXIF tag if you know exactly what tag you want.

 

  • No labels