DocumentationDynamic Media Image Serving and Rendering API

props

Last update: July 12, 2021
  • Topics:
  • Dynamic Media Classic,SDK/API

CREATED FOR:

  • Developer
  • User

Response data properties. Evaluates the current request as if it were an image request (req=img), but instead of returning the image, the server returns selected properties of the reply image.

req=props[,text|javascript|xml|{json[&id= *reqId*}]

reqIdUnique request identifier.

Requests that support JSONP response format lets you specify the name of the JS callback handler using the extended syntax of req= parameter:

req=...,json [&handler = reqHandler ]

<reqHandler> is the name of the JS handler that is present in the JSONP response. Only a-z, A-Z, and 0-9 characters are allowed. Optional. Default is s7jsonResponse.

See Properties for a description of the reply syntax and the response MIME type. The HTTP response is cacheable with a TTL based on attribute::NonImgExpiration.

The following properties are returned for /is/image requests:

PropertyTypeDescription
image.bgchexBackground color (See bgc=.)
image.heightintegerReply image height in pixels
image.iccEmbedbooleanTrue if the ICC profile is embedded in the reply image. (See IccEmbed=.)
image.iccProfilestringName/description of the profile associated with the reply image.
image.lengthintegerReply size in pixels not including the HTTP header; 0 if the reply image data has not been cached previously by the server. (See req=loadcache.)
image.maskenum1 if the reply image includes an alpha channel, 0 otherwise.
image.pixTypstringReply image type, may be CMYK , RGB or BW (for gray-scale images).
image.pathEmbedboolean1 if the response image embeds any paths, 0 otherwise. (See pathEmbed=.)
image.printResrealPrint resolution (dpi)
image.qualityintegerJPEG quality. (See qlt=.)
image.typestringMime type for the reply image. (See fmt=.)
image.widthintegerReply image width in pixels.
image.xmpEmbedboolean1 if the response image embeds xmp data, 0 otherwise. (See xmpEmbed=.)
image.versionstringImage version identifier. (See id=.)
metadata.versionstringMetadata version identifier. (See id=.)

The following properties are returned for /is/content requests:

PropertyTypeDescription
pathstringPartially resolved file path. (See static::Path .)
lengthintObject file size in bytes
expirationdoublestatic::Expiration or the default time to live
lastModifiedstringModification date/time (from static::TimeStamp or the object file)
userTypestringstatic::UserType
recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49