// Parse puts an image on the specified document for a specific position. func (i *Image) Parse(doc documents.Document) { tp := doc.ImageTypeFromMime(i.Mime) doc.RegisterImageReader(i.Url, tp, i.Image) doc.Image(i.Url, i.X, i.Y, i.W, i.H, false, tp, 0, "") }