opensource java xlsx to tiff conversion code example
Example: opensource java xlsx to tiff conversion
import com.spire.xls.Workbook;import com.spire.xls.Worksheet;public class ConvertWorksheetToTIFF { public static void main(String[] args) { //Create a Workbook instance Workbook workbook = new Workbook(); //Create an instance of Workbook class workbook.loadFromFile("Input.xlsx"); //Get the first worksheet Worksheet sheet = workbook.getWorksheets().get(0); //Save the worksheet to tiff sheet.saveToTiff("SheetToTiff.tiff"); }}