[ 
https://issues.apache.org/jira/browse/PDFBOX-4382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693503#comment-16693503
 ] 

Tilman Hausherr commented on PDFBOX-4382:
-----------------------------------------

It is unclear what you want. "PDFRenderer don't be extended by other package" - 
it can be extended. PageDrawerParameters cannot be extended, see the class 
javadoc why. ImageType.toBufferedImageType() cannot be extended but there is no 
reason it should be.
 
If you want to render on "exotic" image types, then first render on RGB or ARGB 
and then draw this image on the g2d of your destination image.

> PDFRenderer don't be extended by other package
> ----------------------------------------------
>
>                 Key: PDFBOX-4382
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4382
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>            Reporter: qianli chen
>            Priority: Major
>
> PDFRenderer don't be extended by other package,
> when render by myself, the ImageType.toBufferedImageType() function not be 
> called, because this abstract function not public
> also PageDrawerParameters don't be new Instance



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to