diff options
author | xuri <xuri.me@gmail.com> | 2019-06-27 21:58:14 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-06-27 21:58:14 +0800 |
commit | 54def7eaad9ee0469ca495b3661798919239384a (patch) | |
tree | 4f99eeb2e929c9baa037f31574f7b45cd3d11b81 /xmlDrawing.go | |
parent | 9f8623047d2fc38e12c3b214475710d25ec88c55 (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.go | 2 |
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 |