jxl导出图片

jxl只只支持后缀名为png的图片,主要是一个方法不是很熟悉,所以特意查询了一下就立刻明白了.

public WritableImage(double x,  double y,double width,double height,java.io.File image)
Parameters:
x - the column number at which to position the image
y - the row number at which to position the image
width - the number of columns cells which the image spans
height - the number of rows which the image spans
image - the source image file


现在一直在查为什么导出的图片都很小,但是execel的大小却非常大的愿意

你可能感兴趣的:(jxl)