jxl导出图片

来源:互联网 发布:windows7删除数据恢复 编辑:程序博客网 时间:2024/05/17 15:03

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的大小却非常大的愿意

0 0