> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Brian McKeever
> Sent: Friday, March 23, 2007 5:56 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] CCITTFaxDecode support
> 
> >> I notice that there is a TIFFFaxDecoder class for reading 
> in compressed
> >> Tiff files.  How hard would it be to get one to call the 
> other?  Are
> >> the algorithms identical or just similar?  Is there 
> anything I should
> >> know before I try to implement it myself?
> 
> > GetStreamBytes() is there to decode content streams, not 
> image streams.
> > You can call GetStreamBytesRaw() and apply whatever 
> decoding algorithms
> > you want to it.
> 
> Ok.  But do you think it's as simple as calling into TIFFFaxDecoder,
> or is there more to it?  I've tried a few different options (guessing
> at fillorder, which DecodeXXX method to call) but I'm not even sure it
> will work in theory.  I've looked at the PDF spec, and it seems a
> little vague on this point.

It should works directy but you need to look at the params dictionary to
know if it's a g4 or g3 code. Note that apparently nobody knows how to
create correct G3/G4 code so you should expect errors even if other
viewers work correctly.

Paulo

Hi there, 
I used GetStreamBytesRaw() but it doesnt work for CCITTFaxDecode, could u
explain what must i do fo that ? 
Thank. 

Shahrooz
-- 
View this message in context: 
http://old.nabble.com/CCITTFaxDecode-support-tp9639371p28078488.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to