[][src]Crate iiif

Structs

Absolute
Attribution
Bytes

A reference counted contiguous slice of memory.

Client

An asynchronous Client to make Requests with.

Image
Info
InfoResponse

Contains the deserialized json info, the raw json string, the url and status code

InfoSize
Logo
Percentage
Profile
Response

Generic response struct containing a byte array of the image the final url and status code returned

Service
Service2
Tile
Url

A parsed URL record.

Enums

Format

The format of the returned image is expressed as an extension at the end of the URI.

Quality

The quality parameter determines whether the image is delivered in color, grayscale or black and white.

Region

The region parameter defines the rectangular portion of the full image to be returned. Region can be specified by pixel coordinates, percentage or by the value “full”, which specifies that the entire image should be returned.

Rotation

The rotation parameter specifies mirroring and rotation. A leading exclamation mark (“!”) indicates that the image should be mirrored by reflection on the vertical axis before any rotation is applied. The numerical value represents the number of degrees of clockwise rotation, and may be any floating point number from 0 to 360.

Size

The size parameter determines the dimensions to which the extracted region is to be scaled.