diff options
author | xuri <xuri.me@gmail.com> | 2022-05-13 01:03:40 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-05-13 01:03:40 +0800 |
commit | 0c3fd0223c784ddcc7d2442105b920587b970727 (patch) | |
tree | ed68a94d6d0c989d85ba60bf21aeb8c772c915de /xmlDrawing.go | |
parent | eed431e0fc2f61b13e7745857a41cb47d9f7f810 (diff) |
This closes #1225, allowing insert EMF format images
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r-- | xmlDrawing.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlDrawing.go b/xmlDrawing.go index d6d6135..7d0b2df 100644 --- a/xmlDrawing.go +++ b/xmlDrawing.go @@ -118,7 +118,8 @@ const ( pivotTableVersion = 3 ) -var supportImageTypes = map[string]string{".gif": ".gif", ".jpg": ".jpeg", ".jpeg": ".jpeg", ".png": ".png", ".tif": ".tiff", ".tiff": ".tiff"} +// supportedImageTypes defined supported image types. +var supportedImageTypes = map[string]string{".gif": ".gif", ".jpg": ".jpeg", ".jpeg": ".jpeg", ".png": ".png", ".tif": ".tiff", ".tiff": ".tiff", ".emf": ".emf"} // xlsxCNvPr directly maps the cNvPr (Non-Visual Drawing Properties). This // element specifies non-visual canvas properties. This allows for additional |