icepdf转图片,解决中文乱码和图片无法转换的错误。附上源码 public class PDFViewer { public JFrame frame; public String pdf; public PDFViewer(String pdf) { this.pdf = pdf; initialize(); } private void initialize() { frame = new JFrame(); frame.setSize(1100, 1000); frame.setLocationRelativeTo(null);