Hi, you are using a very old version of PDFBox. Please try a current one.
Best, Timo Am 13.11.2013 13:45, schrieb ??????:
dear, I have a trouble about PDFToImage. If i code as below , the image doesn't have color. String pdfPath = "C:/Users/jinlonghuang/Desktop/tmp.pdf"; String [] args_1 = new String[5]; args_1[0] = "-outputPrefix"; args_1[1] = "C:/Users/jinlonghuang/Desktop/pdfdemo2"; args_1[2] = "-imageType"; args_1[3] = "jpg"; args_1[4] = pdfPath; If i code as below , the image will couldn't be created. String [] args_1 = new String[7]; args_1[0] = "-outputPrefix"; args_1[1] = "C:/Users/jinlonghuang/Desktop/pdfdemo2"; args_1[2] = "-imageType"; args_1[3] = "jpg"; args_1[4] = "-color"; args_1[5] = "rgb"; args_1[6] = pdfPath; My pdfbox version is PDFBox-0.7.3. Can you help me? Best wishes!
-- Timo Boehme OntoChem GmbH H.-Damerow-Str. 4 06120 Halle/Saale T: +49 345 4780474 F: +49 345 4780471 timo.boe...@ontochem.com _____________________________________________________________________ OntoChem GmbH Gesch?0?1ftsf??hrer: Dr. Lutz Weber Sitz: Halle / Saale Registergericht: Stendal Registernummer: HRB 215461 _____________________________________________________________________