AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
September 2002

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2002.09.05 09:56 "Decode group4", by Jan Edmundson
2002.09.05 10:21 "Re: Decode group4", by Frank D Cringle
2002.09.05 11:56 "Re: Decode group4", by Scott Wagner
2002.09.05 16:34 "Re: Decode group4", by Lee Howard
2002.09.05 17:45 "Re: Decode group4", by Frank D Cringle
2002.09.05 18:02 "Re: Decode group4", by Lee Howard
2002.09.09 12:27 "Re: Decode group4", by Jan Edmundson
2002.09.05 13:16 "Re: Decode group4", by Peter Nielsen

2002.09.05 10:21 "Re: Decode group4", by Frank D Cringle

"Jan Edmundson" <janedm@rsv.se> writes:
> Hi all, I am currently in the process of creating a class
> implementation of the fax group 4 codec.

In which language? C++?

> I have a class namned CCodec
> with 2 methods Decode and Encode. I am focusing on the decoding bit at
> the moment. I have a hypothesis that the Decode method would be
> sufficently declared as follows: Decode( BYTE* pDest, DWORD
> dwDestSize, BYTE* pSrc, DWORD dwSrcSize, DWORD dwRowSize ); Dest
> should be uncompressed and Src should be compressed.

That assumes you will always be decoding the entire image.  You need a
different interface if line-at-a-time decoding is or becomes a
requirement.

> Is there someone out there that has a special intrest in the tiff
> decoding ?

The roots of the libtiff g3/g4 decoder go back to my code in viewfax.

> I have ripped code out of libtiff but would like to get a
> clearer picture of what some of the variables is for in libtiff group
> 4 decoding.

Feel free to ask questions.  Note that the code was originally
developed in the era of 16MHz machines and the aim was to display
faxes at acceptable interactive rates, rather than maintainability or
understandability.

-- 
Frank Cringle,      fdc@cliwe.ping.de
voice: (+49 7745) 928759; fax: 928761