From c2311ce87dd2c681406728f885d2228dbefd7a21 Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 14 May 2022 00:54:36 +0800 Subject: This made library allowing insert WMF format image --- xmlDrawing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlDrawing.go') diff --git a/xmlDrawing.go b/xmlDrawing.go index 7d0b2df..0b6df05 100644 --- a/xmlDrawing.go +++ b/xmlDrawing.go @@ -119,7 +119,7 @@ const ( ) // supportedImageTypes defined supported image types. -var supportedImageTypes = map[string]string{".gif": ".gif", ".jpg": ".jpeg", ".jpeg": ".jpeg", ".png": ".png", ".tif": ".tiff", ".tiff": ".tiff", ".emf": ".emf"} +var supportedImageTypes = map[string]string{".gif": ".gif", ".jpg": ".jpeg", ".jpeg": ".jpeg", ".png": ".png", ".tif": ".tiff", ".tiff": ".tiff", ".emf": ".emf", ".wmf": ".wmf"} // xlsxCNvPr directly maps the cNvPr (Non-Visual Drawing Properties). This // element specifies non-visual canvas properties. This allows for additional -- cgit v1.2.1