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/01/08 19:41:00 UTC
[jira] [Commented] (PDFBOX-4055) Output info when PDFBox JBIG2
ImageIO is released
[ https://issues.apache.org/jira/browse/PDFBOX-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16316867#comment-16316867 ]
Tilman Hausherr commented on PDFBOX-4055:
-----------------------------------------
My intention is to change this in JBIG2Filter.java:
{code:java}
private static boolean newPluginChecked = false;
@Override
public DecodeResult decode(InputStream encoded, OutputStream decoded,
COSDictionary parameters, int index) throws IOException
{
ImageReader reader = findImageReader("JBIG2", "jbig2-imageio is not installed");
if (!newPluginChecked)
{
if (reader.getClass().getName().contains("levigo"))
{
LOG.info("The Levigo JBIG2 plugin has been donated to the Apache Foundation");
LOG.info("and an improved version is available for download at https://pdfbox.apache.org/download.cgi");
}
newPluginChecked = true;
}
{code}
> Output info when PDFBox JBIG2 ImageIO is released
> -------------------------------------------------
>
> Key: PDFBOX-4055
> URL: https://issues.apache.org/jira/browse/PDFBOX-4055
> Project: PDFBox
> Issue Type: Task
> Reporter: Tilman Hausherr
> Priority: Minor
>
> The next pdfbox that follows after the first release of PDFBox JBIG2 ImageIO should output an INFO text mentioning the change _if_ the "then old" levigo JBIG2 ImageIO is installed, so that users know that future versions have a new home and can adjust their builds.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org