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 2018/11/20 17:11:01 UTC

[jira] [Commented] (PDFBOX-4382) PDFRenderer don't be extended by other package

    [ 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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org