You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/08/28 08:27:58 UTC

[jira] [Comment Edited] (PDFBOX-1442) bar chart converted from PDF is totally a black area.

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

John Hewson edited comment on PDFBOX-1442 at 8/28/14 6:27 AM:
--------------------------------------------------------------

Yes, the pattern matrix (if present) is concatenated to the stream's initial matrix to get the transformation from pattern space to device space.


was (Author: jahewson):
Yes, pattern matrix (if present) is concatenated to the stream's initial matrix to get the transformation from pattern space to device space.

> bar chart converted from PDF is totally a black area.
> -----------------------------------------------------
>
>                 Key: PDFBOX-1442
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1442
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.7.1, 1.8.0, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 2.0.0
>            Reporter: James Zhou
>              Labels: shading, shadingpattern
>         Attachments: PATTYP1.pdf-1.png, clientfocus.PNG, clientfocus.pdf, funsh01.pdf-1.png, pdfbox-1442.pdf-1.png, pdfbox-1442.pdf-1.png
>
>
> The bar charts converted from PDF is totally a black area. The code is as following:
> {code}                 
> PDFImageWriter imageWriter = new PDFImageWriter();
> boolean success = imageWriter.writeImage(document, imageFormat, password, startPage, endPage, outputPrefix, imageType, resolution);
> if (!success)
> {
> 	 logger.error( "Error: no writer found for image format '" + imageFormat + "'" );
>          System.exit(1);
> }
> {code}
> I will attach the ppt and PNG files later



--
This message was sent by Atlassian JIRA
(v6.2#6252)