Thanks for providing us template file and sample code with details.
After an initial test, I observed the issue as you mentioned by using the following sample code with your template file. I found that converting your template Excel file (containing GIF image) to HTML is wrong when we save it with SVG format as per the code segment for the second conversion.
1) Image in the output GIF1.html is gif and animated. - Ok2) Image in GIF2.html is SVG with “data:image/png;base64”, where it should have been “data:image/gif;base64” as per source code of .svg file. Also, it is not animated. - Not Oke.g Sample code:
License lics = new License();
Workbook wb = new Workbook(“GIF.xlsx”);
HtmlSaveOptions o = new HtmlSaveOptions();
wb.save(“f:/files/GIF1.html”, o); //Ok
wb.save(“f:/files/GIF2.html”, o);//Not Ok
I have logged a ticket with an id “CELLSJAVA-41842” for your issue. We will look into it soon.
Once we have an update on your issue, we will let you know here.