[ 
https://issues.apache.org/jira/browse/PDFBOX-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112125#comment-15112125
 ] 

Jae Soon Kim commented on PDFBOX-3205:
--------------------------------------

thank you.
i'll try version 2.0

> 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]

Reply via email to