CCITT Group 3

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Make cat/infobox reflect its place in structure)
m (Change telparia.com samples link to template)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{FormatInfo
 
{{FormatInfo
 
|formattype=electronic
 
|formattype=electronic
|subcat=Graphics
+
|subcat=Compression
 +
|subcat2=Fax formats
 +
|extensions={{ext|g3}}
 +
|mimetypes={{mimetype|image/g3fax}}
 
|pronom={{PRONOM|x-cmp/14}}
 
|pronom={{PRONOM|x-cmp/14}}
 
}}
 
}}
'''CCITT Group 3''' is a lossless compression algorithm for bilevel images. It is also known as '''T.4''', '''Fax 3''', and '''ITU-T Fax Group 3'''. It is commonly used for storing scanned images, usually in [[TIFF]] format. It is notable in that it is sometimes used in fax transmission.
+
'''CCITT Group 3''' is a lossless compressed data format for bi-level images. It is also known as '''T4''', '''T.4''', '''Fax3''', '''Group 3''', '''G3''', or '''ITU-T Fax Group 3'''. It is one of the formats used by [[fax machine]]s. It is usually embedded in another image file format such as [[TIFF]], but can be stored in a file by itself.
  
It comes in two main varieties: so-called '''1-dimensional''' and '''2-dimensional''' (though both are used on 2-dimensional images).
+
It comes in two main varieties: so-called '''1-dimensional''' and '''2-dimensional''' (though both are used on 2-dimensional images). The 1-dimensional variety uses [[Modified Huffman]] (MH) compression, and the 2-dimensional variety uses [[Modified READ]] (MR) compression.
 
+
The 1-dimensional variety uses [[Modified Huffman]] compression (= [[Run-length encoding|RLE]] + [[Huffman coding]], sometimes abbreviated "MH").
+
 
+
The 2-dimensional variety uses [[Modified READ]] compression (= delta + RLE + Huffman coding, sometimes abbreviated "MR").
+
  
 
== Related formats ==
 
== Related formats ==
  
In a [[TIFF]] file, compression type 2 is a type of 1-dimensional CCITT Group 3. Compression type 3 without T4Options bit 0 set is a slightly different type of 1-dimensional CCITT Group 3. Compression type 3 with T4Options bit 0 set is 2-dimensional CCITT Group 3.
+
Many of the formats listed in the [[Fax formats]] article use CCITT Group 3 compression.
  
In theory, CCITT Group 3 can be used in [[SPIFF]] files (compression types 1 and 2).
+
In a [[TIFF]] file, compression codes 2, 3, and 32771 are varieties of CCITT Group 3 compression.
 +
 
 +
Other formats that can use CCITT Group 3 compression include [[PDF]] and [[SPIFF]].
  
 
== See also ==
 
== See also ==
Line 22: Line 23:
  
 
== Specifications ==
 
== Specifications ==
* [http://www.itu.int/rec/T-REC-T.4/en ITU-T Recommendation T.4]
+
* [https://www.itu.int/rec/T-REC-T.4/en ITU-T Recommendation T.4]
* [http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf TIFF 6.0 Specification], Section 10: Modified Huffman Compression
+
* [https://www.adobe.io/open/standards/TIFF.html Adobe TIFF standards] → TIFF6.pdf, Section 10: Modified Huffman Compression - Defines a slightly simplified form of the 1-d format
 +
 
 +
== Software ==
 +
* [[Konvertor]]
 +
* [[Netpbm]]: g3topbm, pbmtog3
 +
* [[ImageMagick]] (format named "FAX")
 +
* [[Farbfeld Utilities]]
 +
* [http://snisurset.net/code/abydos/ abydos]
 +
 
 +
== Sample files ==
 +
* {{DexvertSamples|image/faxGroup3}}
 +
 
 +
== Links ==
 +
* RFC 1494: Equivalences between 1988 X.400 and RFC-822 Message Bodies
 +
* RFC 2159: A MIME Body Part for FAX
  
[[Category:Compression]]
+
[[Category:Graphics]]
 +
[[Category:Fax]]

Latest revision as of 02:56, 28 December 2023

File Format
Name CCITT Group 3
Ontology
Extension(s) .g3
MIME Type(s) image/g3fax
PRONOM x-cmp/14

CCITT Group 3 is a lossless compressed data format for bi-level images. It is also known as T4, T.4, Fax3, Group 3, G3, or ITU-T Fax Group 3. It is one of the formats used by fax machines. It is usually embedded in another image file format such as TIFF, but can be stored in a file by itself.

It comes in two main varieties: so-called 1-dimensional and 2-dimensional (though both are used on 2-dimensional images). The 1-dimensional variety uses Modified Huffman (MH) compression, and the 2-dimensional variety uses Modified READ (MR) compression.

Contents

[edit] Related formats

Many of the formats listed in the Fax formats article use CCITT Group 3 compression.

In a TIFF file, compression codes 2, 3, and 32771 are varieties of CCITT Group 3 compression.

Other formats that can use CCITT Group 3 compression include PDF and SPIFF.

[edit] See also

[edit] Specifications

[edit] Software

[edit] Sample files

[edit] Links

  • RFC 1494: Equivalences between 1988 X.400 and RFC-822 Message Bodies
  • RFC 2159: A MIME Body Part for FAX
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox