IStoredImageHandle Interface

Definition

Namespace: P1.CameraSdk

Lightweight representation of an image file in the camera More…

public interface IStoredImageHandle :  IDisposable

Remarks

Lightweight representation of an image file in the camera

This class is the interface to image files returned by the camera. It is lightweight and contains only a limited set of image metadata.It has no actual image bitmap data.

You use this image item ‘s id to query for extra info about an image or the fetch preview or tiles of the image.You can also request the entire IIQ file!

See also:

Camera.AllImages, INotificationEvent.StoredImageHandle

Properties

Id

Gets the id of this image. Can change after a camera reboot or a storage swap.

Date

The capture date & time for this image. As a Unix Epoch timestamp.

Filename

The filename of the image’s IIQ file

Device

A bitmask defining on what devices (XQS/SD), the image is stored.

Methods

RequestBasicImageInfoAsync()

Requests a set of commonly used meta data about the image.

BasicImageInfo(UInt32 timeoutMs=0)

A blocking (synchronous) version of RequestBasicImageInfoAsync

RequestImageAsync()

Request a full IIQ file of the image

RequestPreviewAsync(ImageFormat format=ImageFormat.RGB24)

Request the preview (thumbnail) for an image.

Preview(ImageFormat format, UInt32 timeoutMs=0)

A blocking (synchronous) version of RequestPreviewAsync.

RequestTileAsync(TileRequest tileArguments)

Request a tile : a (scaled) crop of the full image

Tile(TileRequest tileArguments, UInt32 timeoutMs=0)

A blocking (synchronous) version of RequestTileAsync

DeleteImage()

Delete an image from the camera storage.

RateImage(StarRating rating)

Change the star-rating of an image.