[
https://issues.apache.org/jira/browse/PDFBOX-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr closed PDFBOX-3205.
-----------------------------------
Resolution: Implemented
Please use the 2.0 RC3 version, your file converts properly there. The API is
different, read
https://pdfbox.apache.org/2.0/migration.html
Ask any further questions about that in the user mailing list, we'll help.
The message with "i" is not the cause, the real cause is a problem with fonts
that was solved in 2.0 but not in 1.8.
> How Can i fix this message "unsupported/disabled operation: i"
> --------------------------------------------------------------
>
> Key: PDFBOX-3205
> URL: https://issues.apache.org/jira/browse/PDFBOX-3205
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox, Rendering
> Affects Versions: 1.8.10
> Environment: Windows 10, JRE 7
> Reporter: Jae Soon Kim
> Labels: newbie
> Attachments: e10579.pdf, e10579_001.jpg
>
>
> Hi.
> When i convert pdf to image(e.g jpg, png), then I can saw this message,
> " org.apache.pdfbox.util.PDFStreamEngine processOperator
> 정보: unsupported/disabled operation: i "
> and also saw another message.
> "org.apache.pdfbox.util.PDFImageWriter writeImage
> 정보: Writing: D:\ImageSaveRep\test/e10579/e1057934.jpg"
> After i saw this message, i can see blank image.
> Do you know how to fix that??
> please let me know some answer.
> This is my source
> document = PDDocument.load(sourceDir);
> List<PDPage> list = document.getDocumentCatalog().getAllPages();
> String fName = sourceFile.getName().replace(".pdf", "");
>
> int pageNumber = 1;
> for (PDPage page : list) {
> BufferedImage image = page.convertToImage();
> String createFileName = destinationDir+"/" + fileName +"_"+
> String.format("%03d", pageNumber)+"."+convertFormat;
> OutputStream os = new FileOutputStream(createFileName);
> ImageIOUtil.writeImage(image, convertFormat, os,
> Integer.parseInt(convertDPI), Float.parseFloat(convertQuality));
> pageNumber++;
> }
> document.close();
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]