int pdfpages(String filepath)//获取pdf文件页数
boolean pdf2jpg(int page,String filepath,String savepath)//把pdf文件指定页保存为JPG图片,文件名包含在路径里
boolean pdf2jpg(int page,String filepath,String savepath,String savename)//把pdf文件指定页保存为JPG图片,文件名单独指定
boolean pdf2jpg(int page,float scale,String filepath,String savepath,String savename)//把pdf文件全部页保存为JPG图片
boolean pdf2jpgs(String filepath,String savepath,String savename)
boolean pdf2jpgs(float scale,String filepath,String savepath,String savename)
boolean pdf2png(int page,String filepath,String savepath)//把pdf文件指定页保存为PNG图片,文件名包含在路径里
boolean pdf2png(int page,String filepath,String savepath,String savename)//把pdf文件指定页保存为PNG图片,文件名单独指定
boolean pdf2png(int page,float scale,String filepath,String savepath,String savename)
boolean pdf2pngs(String filepath,String savepath,String savename)//把pdf文件全部页保存为PNG图片
boolean pdf2pngs(float scale,String filepath,String savepath,String savename)
BufferedImage pdf2img(int page,String pdfpath)//把pdf文件指定页转成为图片
BufferedImage pdf2img(int page,float scale,String pdfpath)//把pdf文件指定页转为为图片
pdf2jpgOut(int page,String pdfpath)//向浏览器直接输出pdf文件指定页图片
pdf2jpgOut(int page,float scale,String pdfpath)//向浏览器直接输出指定比例的pdf文件指定页jpg图片
pdf2imgOut(int page,float scale,String pdfpath,String type)//向浏览器直接输出指定比例的pdf文件指定页指定类型图片,type:jpg|png