The result is a 235KB png image.
It is an occupied resource.
It occupied a certain amount of resources from start to finish.
- cpu usage: 10%
- Memory Usage: 600MB
- Disk Write: 900 MB/s (very strange)
This is a test spec.
- Windows 10
- jvm mem: 1G
- processor: 12th Gen Intel(R) Core(TM) i9-12900, 2400Mhz, 16 cores, 24 logical processors
- Spire.XLS for java: 13.2.4
This is the code used.
Contents containing personal information have been replaced with "-".
- Code: Select all
public static void main(String[] args) {
com.spire.license.LicenseProvider.setLicenseKey("-");
Workbook workbook = new Workbook();
workbook.loadFromFile("-");
Worksheet worksheet = workbook.getWorksheets().get(0);
worksheet.saveToImage("-");
}
I have attached the xls file used for the test and the png file that is the conversion result, so please check it.