Picture ======= Word allows a picture to be placed in a graphical object container, either an inline shape or a floating shape. Candidate protocol ------------------ :: >>> run = paragraph.add_run() >>> inline_shape = run.add_picture(file_like_image, MIME_type=None) >>> inline_shape.width = width >>> inline_shape.height = height Minimal XML ----------- .. highlight:: xml This XML represents the working hypothesis of the minimum XML that must be inserted to add a working picture to a document:: Required parameters: * unique DrawingML object id (document-wide, pretty sure it's just the part) * name, either filename or generic if file-like object. * rId for rel to image part * size (cx, cy) Specimen XML ------------ .. highlight:: xml This XML represents a picture inserted inline on a paragraph by itself:: Schema definitions ------------------ .. highlight:: xml ::