WrapCachedImage (open)

Get the URL and result of a cached preprocessed image file

Syntax

LOADLIB "mod::system/lib/cache.whlib";

RECORD FUNCTION WrapCachedImage(RECORD wrappedimage, RECORD processingmethod)

Parameters

RECORD wrappedimage

Wrapped image record

RECORD processingmethod

Processing method, which can optionally contain an extra BASEURL cell

Return value

RECORD

A record describing the image after applying the processing method, or a default record if no image is passed

INTEGER height

Image height in pixels

STRING link

Link to the image

INTEGER width

Image width in pixels