Class Index | File Index

Classes


Class SubmitAssets

Submits assets to the preview system.
Defined in: submitAssets.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
SubmitAssets(src, format, scale, res, destcolor, path)
Submits assets to the preview system.
Class Detail
SubmitAssets(src, format, scale, res, destcolor, path)
Submits assets to the preview system. Locates assets by the list of assetIDs in 'src', submits each of them using the preview system parameters, and returns their path values. These paths are parsed into a text object keyed by AssetID from the JSON file in which they are contained, and by default are displayed to the user.
'MBurl'/wf/submitAssets?src=['AssetID']&format='JPEG'&scale='50x50'&res='72dpi'&destcolor='RGB'&path='Destination/Path'
http://127.0.0.1:55555/wf/submitAssets?src=["12345"]&format="JPEG"&scale="50x50"&res="72dpi"&destcolor="RGB"
Parameters:
src
AssetID/list of AssetIDs of assets to be submitted.
format
the format, e.g. "JPEG"
scale
the scale to convert to. E.g. "50%x50%".
res
the resolution to convert to. E.g. "72dpi", "300dpi", or "350x400" (pixels).
destcolor
the colorspace to convert to. E.g. "RGB".
path
Specifies the path of the submitted asset (to the Loading Dock if not given).
Returns:
( {"AssetID": "path",...} )

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Oct 02 2015 17:09:29 GMT-0500 (CDT)