Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1442

bar chart converted from PDF is totally a black area.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1, 1.8.0, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Rendering

      Description

      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

        Attachments

        1. clientfocus.pdf
          31 kB
          James Zhou
        2. clientfocus.PNG
          196 kB
          James Zhou
        3. funsh01.pdf-1.png
          5.55 MB
          Tilman Hausherr
        4. PATTYP1.pdf-1.png
          54 kB
          Tilman Hausherr
        5. pdfbox-1442.pdf-1.png
          234 kB
          Tilman Hausherr
        6. pdfbox-1442.pdf-1.png
          206 kB
          Tilman Hausherr

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                zmingsh James Zhou
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: