Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SupportImageTypes #1225

Closed
Wlhet opened this issue May 12, 2022 · 2 comments
Closed

Add SupportImageTypes #1225

Wlhet opened this issue May 12, 2022 · 2 comments
Projects

Comments

@Wlhet
Copy link

Wlhet commented May 12, 2022

Can you add support image type > ".emf"

xmlDrawing.go
line 121
supportImageTypes = map[string]string{".gif": ".gif", ".jpg": ".jpeg", ".jpeg": ".jpeg", ".png": ".png", ".tif": ".tiff", ".tiff": ".tiff"}

supportImageTypes = map[string]string{".gif": ".gif", ".jpg": ".jpeg", ".jpeg": ".jpeg", ".png": ".png", ".tif": ".tiff", ".tiff": ".tiff", ".emf": ".emf"}

@xuri xuri closed this as completed in 0c3fd02 May 12, 2022
@xuri
Copy link
Member

xuri commented May 12, 2022

Thanks for your issue. I have added support for allowing insert EMF format images. Please upgrade to the master branch code. This feature will be released in the next version, and note that you need to use a specified third-part or custom image decoder and encoder.

@Wlhet
Copy link
Author

Wlhet commented May 13, 2022

Thank you very much.

@xuri xuri added this to Feature in v2.6.1 Jul 7, 2022
xuri added a commit to carbin-gun/excelize that referenced this issue Oct 9, 2022
xuri added a commit to JDavidVR/excelize that referenced this issue Jul 11, 2023
jenbonzhang pushed a commit to jenbonzhang/excelize that referenced this issue Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v2.6.1
Feature
Development

No branches or pull requests

2 participants