But above code not capturing images present in sheet0.
Please find the attached sheet and image. I am unable to get image on arrow. Could you please assist to get that sheet images inside final image. I need as it is screen shot of sheet0.
Thanks for you quick reply. I tried with latest jar file and I got the images on arrow. But it is not that much clear as when we take the printscreen and past inside the mspaint.
I am unable to read the content on that image. Please find the attached screen shot which get generated with latest aspose jar.
Current image issues :
1. Image should have ‘data points to kick-start your work’, but not complete properly.
2. Arrow images are not clear as like excel
3. Date-Range also not readable
Please find the attached input template and generated image.
Please note, we have recorded the scenarios from points 1) & 2) as CELLSJAVA-41780 & CELLSJAVA-41781 respectively for further investigation by the product team. Regarding the point 3) you can increase the resolution of the resultant image to get better effect for cell J8. Please check following piece of code and its resultant image as attached.
Java
Workbook book = new Workbook(dir + “MySheet.xlsx”); ImageOrPrintOptions imgOptions = new ImageOrPrintOptions(); imgOptions.setImageFormat(ImageFormat.getPng()); imgOptions.setOnePagePerSheet(true); imgOptions.setHorizontalResolution(600); imgOptions.setVerticalResolution(600); Worksheet sheet = book.getWorksheets().get(0); SheetRender sr = new SheetRender(sheet, imgOptions); sr.toImage(0, dir + “mysheetimg_0.out.png”);
Please note, the aforementioned tickets are currently pending for analysis and are in the queue with other priority tasks. As soon as we have completed the preliminary analysis, we will share the estimated scheduled for the fix.
For picture bright issue, it is not fixed now. We guess your source file (MySheet.xlsx) was not created via excel. The “Brightness” and “Constrast” is not proper.
Please check attachment 1194.zip (will attach soon). In pic.xlsx, the 2 pictures have same brightness and contrast but they look different.