Image insertion.
An image replaces a placeholder picture wrapped in a pair of
«@name:start» / «@name:end» merge fields. The image data is added to
word/media, a relationship is created for every document part that uses
it, and the placeholder keeps its size unless :width and :height are
given.
Sources may be a path, an http(s) URL, or raw data as {:data, binary}
together with a :filename option - a filename is required so Word can
derive the content type.
Summary
Functions
The height of the image in EMU, or nil when it keeps the placeholder's.
Reads an image from source.
Converts a cm or in dimension string into Word's EMU units.
The width of the image in EMU, or nil when it keeps the placeholder's.
Types
Functions
The height of the image in EMU, or nil when it keeps the placeholder's.
Reads an image from source.
Options: :filename (required for raw data), :properties with :width
and :height given in cm or in.
Converts a cm or in dimension string into Word's EMU units.
The width of the image in EMU, or nil when it keeps the placeholder's.