After an initial test, I observed the issue as you mentioned by using your sample code with your template file. I found that the output SVG image from the picture (in the worksheet) is blank/wrong. It looks like SVG uses embedded image by data:image/bmp;base64, but bmp is opaque as per its source.
e.g Sample code:
Workbook workbook = new Workbook(“C:/test2.xlsx”); Picture picture = workbook.getWorksheets().get(0).getPictures().get(0); ImageOrPrintOptions options = new ImageOrPrintOptions(); options.setSaveFormat(SaveFormat.SVG); picture.toImage(“pic.svg”, options);
I have logged a ticket with an id “CELLSJAVA-41741” for your issue. We will look into it soon.
Once we have any update on it, we will let you know here.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.