Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Jul 24, 2024 11:44 am

Hello,

I am currently evaluating Spire.Doc, using FreeSpire for now, for converting a .docx file to .html.
For this I used the code from this tutorial:
e-iceblue.com/Tutorials/Spire.Doc/Spire.Doc-Program-Guide/Word-to-HTML-Convert-Word-to-HTML-with-C-VB.NET.html

This works well, except for two issues:
1) my document contains images with transparency (only full transparency, no parial transparency).
Some images are not saved as .png, but as .jpeg.
This is an issue, since - unlike .png - .jpeg does not support transparency.
Is there a way to force the image format to be .png or keep the original format?

2) my document also contains shape groups consisting of images and text boxes
For now it seems like, these groups are ignored. Is it possible to have groups included?

Included you will find a document containing these problematic elements.
(the .bin image files in word/media/ are emf files generated by a CMS tool)

Thanks in advance, I appreciate any information on this.

Spire.Doc (FreeSpire.Office 8.2 via NuGet)
Windows 10 64-bit
Console app .NET 6

mmt_keba
 
Posts: 2
Joined: Wed Jul 24, 2024 9:41 am

Thu Jul 25, 2024 5:49 am

Hello,

Thanks for your inquiry.
Kindly note that our free version does not provide technical support and is updated occasionally. So the free version may have many defects. I converted your file with the latest commercial Spire.Doc Pack(hot fix) Version:12.7.3 and did not encounter the issues you mentioned. I uploaded the converted html for your reference. For your scenario, we recommend that you use the more powerful commercial version for testing. To help you better evaluate, we are willing to provide a one-month free temporary license. If you need it, please reply to let us know.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Thu Jul 25, 2024 10:22 am

Hello, thank you for the quick reply!

I was not aware, that the free version differed other than limitations and hofixes, thank you for clarifying.
I will request the temporary evaluation license using the request form on the website.

mmt_keba
 
Posts: 2
Joined: Wed Jul 24, 2024 9:41 am

Fri Jul 26, 2024 3:54 am

Hello,

Thanks for your reply.
If you have any questions about our products in the future, please feel free to write back.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Return to Spire.Doc