[ 
https://issues.apache.org/jira/browse/PDFBOX-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-1442:
------------------------------------

    Attachment: pdfbox-1442.pdf-1.png

I got this perfect rendering by using the initial CTM of the substream (as 
mentioned by John in March 2014 in PDFBOX-1094). However many other shading 
PDFs no longer worked, unless I took the local shading matrix when the initial 
substream CTM was the identity matrix.

> 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: 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:
>                  
> 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)

Reply via email to