[
https://issues.apache.org/jira/browse/PDFBOX-4974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204832#comment-17204832
]
Andreas Lehmkühler edited comment on PDFBOX-4974 at 9/30/20, 3:59 PM:
----------------------------------------------------------------------
Just to avoid misunderstandings:
* PDFBox 2.0.x: the minimum requirement is Java 6 and that won't be changed due
to binary compatibility
* PDFBox 3.0 (trunk, not released yet): the minimum requirement is currently
Java 8
JavaFX is removed in Java 11 and is open sourced as
[OpenJFX|https://www.oracle.com/java/technologies/javase/javafx-overview.html]
I'm afraid we won't introduce a new dependency which is know to be unavailable
in future java versions.
was (Author: lehmi):
Just to avoid misunderstandings:
* PDFBox 2.0.x: the minimum requirement is JDK6 and that won't be changed due
to binary compatibility
* PDFBox 3.0 (trunk, not released yet): the minimum requirement is currently
JDK8
> PDImageXObject creation based on WritableImage
> ----------------------------------------------
>
> Key: PDFBOX-4974
> URL: https://issues.apache.org/jira/browse/PDFBOX-4974
> Project: PDFBox
> Issue Type: New Feature
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Robert Fink
> Priority: Major
> Labels: javafx
>
> The goal is to work with a WritableImage from JavaFX in addition to a
> BufferedImage from Swing.
> My proposal for a new feature is to extend the factory classes.
> - CCITTFactory by the method:
> createFromImage(PDDocument document, WritableImage image)
> - JPEGFactory by the methods:
> createFromImage(PDDocument document, WritableImage image)
> createFromImage(PDDocument document, WritableImage image, float quality)
> createFromImage(PDDocument document, WritableImage image, float quality, int
> dpi)
> - LosslessFactory by methods:
> createFromImage(PDDocument document, WritableImage image)
> Until now there is a need to use the class SwingFXUtils to do the conversion
> from WritableImage to BufferedImage or vice versa.
> This new feature should come in handy for all JavaFX developers.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]