pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (PDFBOX-4382) PDFRenderer don't be extended by other package
Date Tue, 20 Nov 2018 17:11:01 GMT

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

Tilman Hausherr edited comment on PDFBOX-4382 at 11/20/18 5:10 PM:
-------------------------------------------------------------------

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 graphics device of your destination image.


was (Author: tilman):
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


Mime
View raw message