pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Creating a page from a block of CCITTG42D data?
Date Thu, 19 Feb 2015 21:41:30 GMT
Glad it works. Where did you get the raw G4 files from / is this 
something that you think might be useful to many, or was it just 
something unique for you? I'm just wondering if I should add such code 
to the 2.0 or 2.1 version.

Tilman

Am 19.02.2015 um 19:09 schrieb John Lussmyer:
> On Wed Feb 18 23:34:09 PST 2015 THausherr@t-online.de said:
>> Assuming you are using 1.8.8, put the ccitt stream into a PDStream
>> object, then call the PDCcitt constructor with that PDStream.
>>
>> PDStream pd =        new PDStream(doc, new
>> ByteArrayInputStream(data), true);
> ....
>
> Thanks, that worked! (with a few tweaks and typo corrections of course!)
>
> --
>
> Try my Sensible Email package!  https://sourceforge.net/projects/sensibleemail/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message