Purpose
Opcode format | Opcode | Operand Format | Comments |
Extended ASCII | (Embed | <ws>(<TType>/<TSubtype>;[<Toptions>])<ws>\
(<Tdesc>)<ws>(<TFilename>)<ws>(<TURL>)) |
Reference to a source file |
- | (EmbedFile | <ws>(<TType>/<TSubtype>;[<Toptions>])<ws>\
(<TDesc>)<ws>(<TFilename>)<ws>{<DData>}) |
Embedded source file |
Subtype The MIME subtype of the data being embedded
Options The MIME options field
Desc A general description of the embedded file or of the link (argument is normally ignored)
URL A universal resource locator specification of the source file being referenced
Filename The file name of the source file being embedded
Data The binary data of the source file being embedded
For example, a user might perform a drag-and-drop operation by dragging from a WHIP! data being viewed in an Internet browser and dropping into a CAD application like AutoCAD. Because WHIP! data is essentially an electronic printout, they are designed mainly for viewing not editing (much of the application-specific information is not contained in the WHIP! data). Rather than dropping the WHIP! data into the CAD application, the Internet WHIP! data viewer can drop the embedded native CAD source file, for example, an AutoCAD .dxf file. The embed opcode can be used as follows:
(Embed (image/autocad-dxf;) () () (http://www.autodesk.com/house.dxf))Notes