[
https://issues.apache.org/jira/browse/PDFBOX-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346719#comment-15346719
]
ASF subversion and git services commented on PDFBOX-3069:
---------------------------------------------------------
Commit 1749939 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1749939 ]
PDFBOX-3069: add CCITT G4 (T6) encoding from BufferedImage with encoder from
twelvemonkeys; add check for orientation
> Add code for CCITT compression
> ------------------------------
>
> Key: PDFBOX-3069
> URL: https://issues.apache.org/jira/browse/PDFBOX-3069
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.2, 2.1.0
> Reporter: Christian Gawron
> Assignee: Tilman Hausherr
> Priority: Minor
> Labels: CCITTFaxDecode, ccitt, compression
>
> The class org.apache.pdfbox.pdmodel.graphics.image.CCITTFactory contains code
> to create a PDImageXObject from an existing TIFF file. Unlike the
> corresponding JPEGFactory it does *not* provide any code to create a
> PDImageXObject from a BufferedImage. The main reason is that pdfbox contains
> only code to decompress CCITT group 3/4 files, code for compression is
> missing.
> Based on the compression code in Apache Commons Imaging I implemented the
> missing method and I'm willing to contribute it.
> I can provide a patch, but I would need advise whether it's preferable to
> duplicate code from Apache Commons Imaging or to create a dependency on it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]