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/08/30 21:04:53 UTC

[jira] [Resolved] (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:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-1442.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
         Assignee: Tilman Hausherr

Last problem (the shadings / gradient) fixed in PDFBOX-1094. This seemingly harmless powerpoint file really showed us an amazing number of different problems in our code.

> 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
>            Assignee: Tilman Hausherr
>              Labels: shading, shadingpattern
>             Fix For: 2.0.0
>
>         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)