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 2015/09/21 18:21:05 UTC

[jira] [Closed] (PDFBOX-2979) TexturePaint related bug in convertToImage method when trying to create a thumbnai image from PDF

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

Tilman Hausherr closed PDFBOX-2979.
-----------------------------------
    Resolution: Not A Problem

Patterns are not supported in the 1.8 versions. However they are supported in the unreleased 2.0 version (your file renders fine). You can get it with svn or with maven (see download page / getting started page). If you want to try it and need help, ask in the user mailing list.

(But if I were you, for a thumbnail application, I wouldn't bother much...)

> TexturePaint related bug in convertToImage method when trying to create a thumbnai image from PDF
> -------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-2979
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2979
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.10
>         Environment: Ubuntu Linux - headless - Java 1.8.0_60
>            Reporter: Hitesh Patel
>         Attachments: PdfToJpg.java, input.pdf, output.jpg
>
>
> I am trying to create a JPG image from a PDF page using convertToImage method of org.apache.pdfbox.pdmodel.PDPage class. 
> If a PDF page contains a layer/element that was created using TexturePaint, convertToImage renders that element with a white background instead of original texture.
> See attached files for input PDF, source code used to convert it to an image and an output file. 
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org