Instruction set reference
HIPE_OP_SET_SRC
Sent by a client application to the display server. Supplies source data to the display server for tag elements that have a src attribute. For example, use this instruction to send image data to an img element.
- location: The tag element to apply the src data to.
- arg[0]: Raw byte-data of the image or other file.
- arg[1]: (optional) The mime type of the source data file. If not specified, "image/png" is assumed. For non-png file formats, the mime type must be specified.