You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/03/09 10:10:43 UTC

[jira] [Commented] (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=13925157#comment-13925157 ] 

Tilman Hausherr commented on PDFBOX-1442:
-----------------------------------------

I committed Andreas' modification about not caching the paint value in rev 1575682 for the 1.8 branch.

> 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
>            Reporter: James Zhou
>              Labels: shading, shadingpattern
>         Attachments: clientfocus.PNG, clientfocus.pdf, funsh01.pdf-1.png, pdfbox-1442.pdf-1.png
>
>
> The bar charts converted from PDF is totally a black area. The code is as following:
>                  
> 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);
>    
>                  }
> I will attach the ppt and PNG files later



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