image.png (101.0 KB)
They are correct under normal circumstances, but they seem to have problems under concurrent conditions.
final Document document = new Document("/Users/zyx/Downloads/9ddf029e1d137b288876127c2ef07733.docx");
final ImageSaveOptions options = new ImageSaveOptions(SaveFormat.JPEG);
options.setImageBrightness(0.7f);
options.setImageContrast(0.7f);
for (int i = 0; i < document.getPageCount(); i++) {
options.setPageSet(new PageSet(i));
final String filename = "aaa_"+ i + ".jpg";
document.save(filename,options);
}
https://tezign-assets.oss-cn-beijing.aliyuncs.com/9ddf029e1d137b288876127c2ef07733.docx