Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
JPEG File Interchange Format
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Purpose == JFIF defines a number of details that are left unspecified by the JPEG Part 1 standard ([[ISO]]/[[International Electrotechnical Commission|IEC]] 10918-1, [[ITU-T]] Recommendation T.81.)<ref name="itu_t81">{{cite web |url=http://www.itu.int/rec/T-REC-T.81 |format=PDF |title=Recommendation ITU-T T.81: Information technology β Digital compression and coding of continuous-tone still images β Requirements and guidelines |website=ITU-T (formerly CCITT) |date=18 February 1992 |access-date=15 June 2015 }}</ref> === Component sample registration === JPEG allows multiple components (such as [[YCbCr|Y, Cb, and Cr]]) to have different resolutions, but it does not define how those differing sample arrays (which render bitmaps) should be aligned. This pixel-producing information is rendered with the expectation of indicating rectangles by their [[centroid]], rather than being pixel data directly, or being 'first corner and flood', etc. which is uncommon. === Resolution and aspect ratio === The JPEG standard does not include any method of coding the resolution or aspect ratio of an image. JFIF provides resolution or aspect ratio information using an application segment extension to JPEG. It uses Application Segment #0, with a segment header consisting of the [[null-terminated string]] spelling "JFIF" in [[ASCII]] followed by a byte equal to 0, and specifies that this must be the first segment in the file, hence making it simple to recognize a JFIF file. [[Exif]] images recorded by digital cameras generally do not include this segment, but typically comply in all other respects with the JFIF standard. === Color space === The JPEG standard used for the compression coding in JFIF files does not define which [[color space|color encoding]] is to be used for images. JFIF defines the [[color model]] to be used: either Y for greyscale, or [[YCbCr]] derived from [[RGB color model|RGB color primaries]] as defined in [[CCIR 601]] (now known as Rec. ITU-R BT.601), except with a different "full range" scaling of the Y, Cb and Cr components. Unlike the "studio range" defined in CCIR 601, in which black is represented by Y=16 and white by Y=235 and values outside of this range are available for signal processing "headroom" and "footroom", JFIF uses all 256 levels of the 8-bit representation, so that Y=0 for black and Y=255 for peak white. The RGB color primaries defined in JFIF via CCIR 601 also differ somewhat from what has become common practice in newer applications (e.g., they differ slightly from the color primaries defined in [[sRGB]]). Moreover, CCIR 601 (before 2007) did not provide a precise definition of the RGB color primaries; it relied instead on the underlying practices of the television industry. Color interpretation of a JFIF image may be improved by embedding an [[International Color Consortium|ICC]] profile, colorspace metadata, or an [[sRGB]] tag, and using an application that interprets this information.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
JPEG File Interchange Format
(section)
Add topic