<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Modified_Huffman_coding</id>
	<title>Modified Huffman coding - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Modified_Huffman_coding"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Modified_Huffman_coding&amp;action=history"/>
	<updated>2026-10-26T04:25:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Modified_Huffman_coding&amp;diff=1749388&amp;oldid=prev</id>
		<title>imported&gt;Halscode: Adding local short description: &quot;Image encoding for fax machines&quot;, overriding Wikidata description &quot;used in fax machines to encode black on white images&quot;</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Modified_Huffman_coding&amp;diff=1749388&amp;oldid=prev"/>
		<updated>2025-03-04T01:52:04Z</updated>

		<summary type="html">&lt;p&gt;Adding local &lt;a href=&quot;https://en.wikipedia.org/wiki/Short_description&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Short description&quot;&gt;short description&lt;/a&gt;: &amp;quot;Image encoding for fax machines&amp;quot;, overriding Wikidata description &amp;quot;used in fax machines to encode black on white images&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Image encoding for fax machines}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Modified Huffman coding&amp;#039;&amp;#039;&amp;#039; is used in [[fax]] machines to encode black-on-white images ([[bitmap]]s). It combines the variable-length codes of [[Huffman coding]] with the coding of repetitive data in [[run-length encoding]].&lt;br /&gt;
&lt;br /&gt;
The basic Huffman coding provides a way to compress files with much repeating data, like a file containing text, where the alphabet letters are the repeating objects. However, a single scan line contains only two kinds of elements{{snd}} white pixels and black pixels{{snd}} which can be represented directly as 0 and 1. This &amp;quot;alphabet&amp;quot; of only two [[symbols]] is too small to apply the [[Huffman coding]] directly. But if we first use run-length encoding, we can have more objects to encode. Here is an example taken from the article on [[run-length encoding]]:&lt;br /&gt;
&lt;br /&gt;
A hypothetical scan line, with B representing a black pixel and W representing white, might read as follows:&lt;br /&gt;
&lt;br /&gt;
 WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW&lt;br /&gt;
&lt;br /&gt;
With a run-length encoding (RLE) data compression algorithm applied to the above hypothetical scan line, it can be rendered as follows:&lt;br /&gt;
&lt;br /&gt;
 12W1B12W3B24W1B14W&lt;br /&gt;
&lt;br /&gt;
Here we see that we have several different numbers in addition to the two items &amp;quot;white&amp;quot; and &amp;quot;black.&amp;quot; These numbers provide plenty of additional items to use, so the Huffman coding can be directly applied to the sequence above to reduce the size even more.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Fax#Compression|Fax compression]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* {{cite web |url=http://www.netnam.vn/unescocourse/computervision/104.htm |archive-url=https://web.archive.org/web/20020628195336/http://www.netnam.vn/unescocourse/computervision/104.htm |archive-date=2002-06-28 |title=Modified Huffman coding from UNESCO}}&lt;br /&gt;
&lt;br /&gt;
{{Compression methods}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lossless compression algorithms]]&lt;br /&gt;
[[Category:Data compression]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{computer-stub}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Halscode</name></author>
	</entry>
</feed>