📄 faq-doc-18.html
字号:
<HEAD>
<TITLE>JPEG image compression FAQ, part 1/2 - [18] What about arithmetic coding?</TITLE>
</HEAD>
<BODY>
Parent document is top of "<A NAME=up HREF="faq.html" tppabs="http://www.cis.ohio-state.edu/hypertext/faq/usenet/jpeg-faq/part1/faq.html"><I>JPEG image compression FAQ, part 1/2</I></A>"<BR>
Previous document is "<A NAME=up HREF="faq-doc-17.html" tppabs="http://www.cis.ohio-state.edu/hypertext/faq/usenet/jpeg-faq/part1/faq-doc-17.html"><I>[17] How does JPEG work?</I></A>"<BR>
Next document is "<A NAME=up HREF="faq-doc-19.html" tppabs="http://www.cis.ohio-state.edu/hypertext/faq/usenet/jpeg-faq/part1/faq-doc-19.html"><I>[19] Could an FPU speed up JPEG? How about a DSP chip?</I></A>"<BR>
<HR>
<H1>[18] What about arithmetic coding?</H1>
<PRE>
The JPEG spec defines two different "back end" modules for the final output
of compressed data: either Huffman coding or arithmetic coding is allowed.
The choice has no impact on image quality, but arithmetic coding usually
produces a smaller compressed file. On typical images, arithmetic coding
produces a file 5 to 10 percent smaller than Huffman coding. (All the
file-size numbers previously cited are for Huffman coding.)
Unfortunately, the particular variant of arithmetic coding specified by the
JPEG standard is subject to patents owned by IBM, AT&T, and Mitsubishi.
Thus *you cannot legally use JPEG arithmetic coding* unless you obtain
licenses from these companies. (Patent law's "experimental use" exception
allows people to test a patented method in the context of scientific
research, but any commercial or routine personal use is infringement.)
I recommend that people not use JPEG arithmetic coding; the space savings
isn't great enough to justify the potential legal hassles. In particular,
arithmetic coding *should not* be used for any images to be exchanged on
the Internet. Even if you don't care about US patent law, other folks do.
</PRE>
<HR>
Parent document is top of "<A NAME=up HREF="faq.html" tppabs="http://www.cis.ohio-state.edu/hypertext/faq/usenet/jpeg-faq/part1/faq.html"><I>JPEG image compression FAQ, part 1/2</I></A>"<BR>
Previous document is "<A NAME=up HREF="faq-doc-17.html" tppabs="http://www.cis.ohio-state.edu/hypertext/faq/usenet/jpeg-faq/part1/faq-doc-17.html"><I>[17] How does JPEG work?</I></A>"<BR>
Next document is "<A NAME=up HREF="faq-doc-19.html" tppabs="http://www.cis.ohio-state.edu/hypertext/faq/usenet/jpeg-faq/part1/faq-doc-19.html"><I>[19] Could an FPU speed up JPEG? How about a DSP chip?</I></A>"<BR>
</BODY>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -