Hi, If the previous comment is correct in regards to being a fax file format, then you have a compressed bi tonal image. CCITT Group 3 and 4 compression is used by the tiff image specification as an optional compression format. It's suited to fax transmissions as it's compression performance on bitonal images is excellent therefore making transmission of fax machines quicker.
You obviously have the bit from inside the tiff, so no tiff wrapper structure. Dumping to text file is a little pointless because the source was raster image data to begin with. Search for a specification on the Group 3 image compression format for info. Also, the tiff specification is quite verbose, and may actually go into the details about the compression format. I'd be taking the approach of either determining from headers, etc within the compressed data the information required to dump this into a tiff file or convert to a bmp or similar not compressed format. I hope this helps, Stephen York J.Peng wrote: >Hi,list, > >I have a file which format is raw G3 data.I didn't see this file format >before.I want to get some info from this file.How can I decode these >contents to plain txt file with perl?Thanks. > >It's the unix 'file' command show: > >file 1_zhangcha_01_1000v+40.mbox >1_zhangcha_01_1000v+40.mbox: raw G3 data, byte-padded > > > > > >______________________________________ >Get your FREE 100MB email today at http://www.wapda.com > > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
