Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I get free specifications of JPEG/JFIF/EXIF/etc?

Tags:

standards

jpeg

I want to make a tool for myself (and maybe others if it comes out good) for low level inspection/modification of JPEG files. Sort of like TweakPNG, but for JPEGs. So far I haven't found any tool that does this.

In order to do that I need to read all the relevant specifications. Unfortunately the official ones are pretty costly, so I'm looking for alternate sources. Is there anything you can recommend which covers as much ground as possible?

like image 975
Vilx- Avatar asked Dec 19 '11 11:12

Vilx-


People also ask

Is a JFIF the same as a JPEG?

JPEG (Joint Photographic Experts Group) is a lossy compression method standardised by ISO. JPEG JFIF, which is what people generally mean when they refer to "JPEG", is a file format created by the Independent JPEG Group (IJG) for the transport of single JPEG-compressed images.

Which is better JFIF or JPEG?

JPEG/JFIF is the currently most popular format for storing and transmitting photographic images on the internet, while JPEG/Exif is that for digital cameras and other image capture devices. Most folks don't distinguish the difference between these variations and simply refer to them both as just JPEG.

What's the difference between a JPG and a JPEG?

JPGs and JPEGs are the same file format. JPG and JPEG both stand for Joint Photographic Experts Group and are both raster image file types. The only reason JPG is three characters long as opposed to four is that early versions of Windows required a three-letter extension for file names.

When did JPEG become JFIF?

In 1996, RFC 2046 specified that the image format used for transmitting JPEG images across the internet should be JFIF. The MIME type of "image/jpeg" must be encoded as JFIF.


1 Answers

To answer my own question:

  • Part 1 can be downloaded from the W3 page and the corrigendum (which contains only patent information) from the ITU page. Direct links: Part 1, Corrigendum.
  • Part 2 I cannot find, but apparently it only includes test cases for application compliance to part 1. Useful, but not necessary.
  • Part 3 and its amendment detail some extensions and are again available from ITU. Direct links: Part 3, Amendment.
  • Part 4 is available from ITU as well, and details... I'm not sure yet, what. Either some more extensions and a SPIFF file format (never heard of it before); or methods for registering new extensions. Possibly both. Anyway, direct link: Part 4.
  • Part 5... oh, wait, there are only 4 parts! But there is a JFIF specification. That one's a bit hairy. Apparently it's at version 1.02, and was developed in good old '92, but that's pretty unofficial. ISO is still working on formalizing it, but in the meantime ECMA has already done so by simply reformatting it to their typical specification style. Anyways, the two things should be the same, as I understand. You can find them on the W3 page and ECMA page. Direct links: Original, ECMA style.
  • Part 6 (I like imaginary parts!) would be the EXIF standard. Accoriding to wikipedia it's never been standardized, but everyone adheres to the unoffical standard by JEIDA/CIPA. Wikipedia also had this direct link to the latest version of the spec (2010!): EXIF 2.3

Well, that's it folks! Happy JPEGging!

like image 124
Vilx- Avatar answered Oct 25 '22 09:10

Vilx-