summaryrefslogtreecommitdiff
path: root/xmlDrawing.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-06-27 21:58:14 +0800
committerxuri <xuri.me@gmail.com>2019-06-27 21:58:14 +0800
commit54def7eaad9ee0469ca495b3661798919239384a (patch)
tree4f99eeb2e929c9baa037f31574f7b45cd3d11b81 /xmlDrawing.go
parent9f8623047d2fc38e12c3b214475710d25ec88c55 (diff)
Add TIF, TIFF format images and more detailed error information when open the encrypted file
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r--xmlDrawing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlDrawing.go b/xmlDrawing.go
index 13e164e..bb468bc 100644
--- a/xmlDrawing.go
+++ b/xmlDrawing.go
@@ -42,7 +42,7 @@ const (
NameSpaceDublinCoreMetadataIntiative = "http://purl.org/dc/dcmitype/"
)
-var supportImageTypes = map[string]string{".gif": ".gif", ".jpg": ".jpeg", ".jpeg": ".jpeg", ".png": ".png"}
+var supportImageTypes = map[string]string{".gif": ".gif", ".jpg": ".jpeg", ".jpeg": ".jpeg", ".png": ".png", ".tif": ".tiff", ".tiff": ".tiff"}
// xlsxCNvPr directly maps the cNvPr (Non-Visual Drawing Properties). This
// element specifies non-visual canvas properties. This allows for additional