不再生成通过函图片

This commit is contained in:
feng.li
2023-07-25 10:49:03 +08:00
parent d6a5630697
commit 97cfac0c5a
2 changed files with 9 additions and 7 deletions

View File

@@ -135,6 +135,8 @@ public class PDFUtils {
* @param inputStream pdf 输入流
* @param scale 缩放比例
*/
//不再将通过函转为图片
@Deprecated
public static ByteArrayOutputStream pdf2Img(InputStream inputStream, float scale) {
org.icepdf.core.pobjects.Document document = new org.icepdf.core.pobjects.Document();
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();