Html2Image(JAVA)jar包publicstaticbyte[]generatePDF(StringReaderstrReader,Stringpath){try{FileOutputStreamfos=newFileOutputStream(path);ByteArrayOutputStreamos=newByteArrayOutputStream();PD4MLpd4ml=newPD4ML();pd4ml.setPageInsets(newInsets(5,5,5,5));pd4ml.setHtmlWidth(900);pd4ml.setPag