DX encoding

Standard marking on film cartridges
title: "DX encoding" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["photographic-film-markings", "kodak", "audiovisual-introductions-in-1983"] description: "Standard marking on film cartridges" topic_path: "arts" source: "https://en.wikipedia.org/wiki/DX_encoding" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0
::summary Standard marking on film cartridges ::
::figure[src="https://upload.wikimedia.org/wikipedia/commons/d/d0/Kodak_DX_Logo.png" caption="DX Encoding Logo"] ::
::figure[src="https://upload.wikimedia.org/wikipedia/commons/3/33/Dx135can.jpg" caption="135 Film Cartridge with ''DX barcode'' (top) and ''DX CAS'' code. The CAS code shows this is (top row) ISO 125 film, (bottom row) 24 exposures, +3/−1 f-stop exposure tolerance. The DX barcode reads 017563, showing [[DX number]] 109-12, 24 exposures."] ::
DX (Digital indeX) encoding is a standard for marking 35 mm and APS photographic film and film cartridges, originally introduced by Kodak in 1983. It includes multiple markings, which are a latent image barcode on the bottom edge of the film, below the sprocket holes, a conductive pattern on the cartridge used by automatic cameras, and a barcode on the cartridge read by photo-finishing machines.
The DX encoding system was incorporated into ANSI PH1.14, which provided standards for 135 film magazines for still picture cameras and was superseded by NAPM IT1.14 in 1994; it is now part of ISO standard 1007, whose latest revision was issued in 2000.
History
::figure[src="https://upload.wikimedia.org/wikipedia/commons/0/06/Kodak_400_color_film_DX_code.jpg" caption="Codes on Kodak ISO 400 color negative film"] ::
In order to simplify the handling of 35 mm film in 135 format cartridges, Kodak introduced the DX encoding method on 3 January 1983. In contrast to the film speed encoding method developed by Fuji in 1977, which used electrical contacts for film speed detection on 135 format cartridges, Kodak's DX encoding system immediately met success in the marketplace.
The first DX encoded film to be released was the color print film Kodacolor VR 1000 in March 1983.
The first point-and-shoot cameras to use DX encoding to automatically set film speed were released in 1984, including the Pentax Super Sport 35 / PC 35AF-M and Minolta AF-E / Freedom II. The first single-lens reflex cameras to take advantage of DX encoding were released in 1985, including the Konica TC-X SLR (1985), Pentax A3 / A3000, Minolta 7000 (February 1985) and 9000 (September 1985), and the Nikon F-301 / N2000.
DX-iX (data exchange - information exchange) is an expanded DX encoding system introduced in 1996 which was released as part of the Advanced Photo System (APS), which use a different cartridge and film size, also known as IX240 film. APS film and cameras were marketed with numerous brand names, most including an "ix" to emphasize the information exchange aspect, including Advantix (Kodak) and Nexia (Fujifilm).
Barcode SystemIn 1998, Fujifilm introduced a film identification system for 120 and 220 format roll film called Barcode System (with logo "|||B"). The barcode encoding the film format and length as well as the film speed and type is located on the sticker between the emulsion carrying film and the backing paper. This 13-bit barcode is optically scanned by newer medium format cameras like the Fujifilm GA645i Professional, GA645Wi Professional, GA645Zi Professional, GX645AF Professional, GX680III Professional, GX680IIIS Professional, Hasselblad H1, H2, H2F and H3D Model I with HM 16-32 as well as by the Contax 645 AF.
Implementation
DX cartridge barcode
::figure[src="https://upload.wikimedia.org/wikipedia/commons/6/6e/Agfaphoto_APX_400_(new_emulsion)_135_film_cartridge_04.jpg" caption="Agfa APX 400, cartridge number 017712"] ::
Next to the film exit lip is an Interleaved 2 of 5 barcode and a printed number. The six digits represent the I3A assigned DX number (middle four digits), the number of exposures (last digit) and a proprietary manufacturer's code (first digit). The DX number identifies the manufacturer, film type, and by inference, the necessary developing process type. This is used by automatic photo-finishing machines to correctly process the exposed film.
DX film edge barcode
::figure[src="https://upload.wikimedia.org/wikipedia/commons/7/79/Dx-film-edge-barcode.jpg" caption="Perutz Primera 200]]), frame 22A"] ::
Below the sprockets under each frame of 135 film is the DX film edge barcode. The barcode is invisible until the film has been developed. It is optically imprinted as a latent image during manufacturing. The barcode is used by photo finishers to identify each frame for printing. It consists of two parallel linear barcodes, one for a synchronizing clock called the "clock track", and the other encoding film data such as type, manufacturer and frame number, called the "data track". The barcode nearest the film edge (away from the sprocket holes) contains the data track. The data track sequence repeats every half frame, beginning with six start bits, followed by seven bits of DX Number Part 1, one unassigned bit, four bits of DX Number Part 2, a seven-bit frame/half-frame number, one unassigned bit, one parity bit, and finishes with four stop bits. The seven-bit frame/half-frame number is called the "DXN" number (different than the "DX Number Part 1" and "DX Number Part 2"), and is an extension on the original DX edge code, patented by Eastman Kodak in 1990.
Some image processing software utilized by film scanners allow selection of film manufacturer and type to provide automatic color correction. Interpreting the DX film edge barcode may provide this information, permitting accurate color correction to be applied.
DX Camera Auto Sensing
::figure[src="https://upload.wikimedia.org/wikipedia/commons/b/b6/Codage_DX.jpg" caption="DX CAS code positions; this film is rated at ISO 400/27°, has a 24-exposure length, and an exposure tolerance of ±1 stops."] ::
1: Ground 2–6: Film speed 7: Ground 8–10: Film length 11–12: Exposure latitude ]] The outside of film cartridges are marked with a DX Camera Auto Sensing (CAS) code readable by many cameras. Cameras can then automatically determine the film speed, number of exposures and exposure tolerance.
With 135 film cartridges, the DX Camera Auto Sensing code uses a 2×6 grid of rectangular contact areas on the side of the metal cartridge surface; these areas are either conductive (bare metal) or non-conductive (painted). The left-most area of both rows (with the spool post on the left) are common (ground) and are thus always bare metal. Electrical contacts in the camera read the bit pattern. Diagramatically (with spool post to the left):
::data[format=table]
| G | L1 | L2 | L3 | T1 | T2 |
|---|---|---|---|---|---|
| :: |
In this scheme:
- "G" are the two common-ground contacts
- "Sx" are the film speed contacts
- "Lx" are the film length contacts
- "Tx" are the exposure tolerance contacts
Most cameras read the film speed only, which is in the first row. Some cameras aimed at the consumer market only read enough bits in the first row to distinguish the most common film speeds. For example, 100, 200, 400, and 800 can be distinguished by reading only S1, S2, and ground.
Film speed
The five bits after the ground contact in the top row can be encoded to a maximum of 32 different film speeds, but only the 24 speeds from ISO 25/15° to 5000/38°, inclusive, spaced in intervals of step, are used.
The film speed codes are in binary order if the first three bits (S1, S2, S3) are considered to identify a trio of film speeds and the last two bits (S4 and S5) are considered an adjustment of +0, +, or + stops within that trio. For example, ISO speed 25/15° is encoded as 00010, while 32/16° is 00001 and 40/17° is 00011. These share a common encoding of 000xx for the first three bits, differing only in the last two bits, so 000xx designates the trio of speeds (25-32-40). Similarly, the next group of three speeds are encoded 10010 (50/18°), 10001 (64/19°), and 10011 (80/20°); it is clear from examination these all (ISO 50-64-80) share the same 100xx encoding for the first three bits. By comparison to the preceding set of three speeds, the encoding for 25/15° (00010) and 50/18° (10010) have the same xxx10 encoding for the last two bits; likewise, 32/16° (00001) and 64/19° (10001) share the xxx01 encoding, which indicates + stop compared to the xxx10 encoding, and 40/17° (00011) and 80/20° (10011) share the xxx11 encoding, which indicates + stop compared to the xxx10 encoding.
Film length
In the second row, the first three bits represent eight possible film lengths, although in practice only 12, 20, 24 and 36 exposures are encoded.
Exposure tolerance
The remaining two bits of the second row give four ranges of exposure tolerance, or latitude.
The complete encoding scheme is illustrated in the truth table below using letters and color.
- "G" is ground.
- "T" means the contact is connected to ground.
- "F" means the contact is disconnected from ground.
::data[format=table title="Standard film speed encoding"] | Film speed (ISO) | 1st row DX contacts | Film speed (ISO) | 1st row DX contacts | Film speed (ISO) | 1st row DX contacts | 25/15° | 32/16° | 40/17° | 50/18° | 64/19° | 80/20° | 100/21° | 125/22° | 160/23° | 200/24° | 250/25° | 320/26° | 400/27° | 500/28° | 640/29° | 800/30° | 1000/31° | 1250/32° | 1600/33° | 2000/34° | 2500/35° | 3200/36° | 4000/37° | 5000/38° | |---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | G | S1 | S2 | S3 | S4 | S5 | G | S1 | S2 | S3 | S4 | S5 | G | S1 | S2 | S3 | S4 | S5 | | | | | | | | | | | | | | G | F | F | F | T | F | G | F | F | F | F | T | G | F | F | F | T | T | | | | | | | | | | | | | | G | T | F | F | T | F | G | T | F | F | F | T | G | T | F | F | T | T | | | | | | | | | | | | | | G | F | T | F | T | F | G | F | T | F | F | T | G | F | T | F | T | T | | | | | | | | | | | | | | G | T | T | F | T | F | G | T | T | F | F | T | G | T | T | F | T | T | | | | | | | | | | | | | | G | F | F | T | T | F | G | F | F | T | F | T | G | F | F | T | T | T | | | | | | | | | | | | | | G | T | F | T | T | F | G | T | F | T | F | T | G | T | F | T | T | T | | | | | | | | | | | | | | G | F | T | T | T | F | G | F | T | T | F | T | G | F | T | T | T | T | | | | | | | | | | | | | | G | T | T | T | T | F | G | T | T | T | F | T | G | T | T | T | T | T | | | | | | | | | | | | | ::
::data[format=table title="Custom film speed encoding"]
| ISO speed | 1st row DX contacts | custom 1 | custom 2 | custom 3 | custom 4 | custom 5 | custom 6 | custom 7 | custom 8 |
|---|---|---|---|---|---|---|---|---|---|
| G | S1 | S2 | S3 | S4 | S5 | ||||
| G | F | F | F | F | F | ||||
| G | T | F | F | F | F | ||||
| G | F | T | F | F | F | ||||
| G | T | T | F | F | F | ||||
| G | F | F | T | F | F | ||||
| G | T | F | T | F | F | ||||
| G | F | T | T | F | F | ||||
| G | T | T | T | F | F | ||||
| :: |
::data[format=table title="'''Film length'''"]
| Exposures | 2nd row DX contacts | other | 12 | 20 | 24 | 36 | 48 | 60 | 72 |
|---|---|---|---|---|---|---|---|---|---|
| G | L1 | L2 | L3 | T1 | T2 | ||||
| G | F | F | F | ||||||
| G | T | F | F | ||||||
| G | F | T | F | ||||||
| G | T | T | F | ||||||
| G | F | F | T | ||||||
| G | T | F | T | ||||||
| G | F | T | T | ||||||
| G | T | T | T | ||||||
| :: |
::data[format=table title="'''Exposure tolerance'''"] | Exposure tolerance (in f-stops) | 2nd row DX contacts | ±½ | ±1 | +2 −1 | +3 −1 | |---|---|---|---|---|---| | G | L1 | L2 | L3 | T1 | T2 | | G | | | | F | F | | G | | | | T | F | | G | | | | F | T | | G | | | | T | T | ::
References
References
- "Konica TC-X (1985–1988)".
- (2017). "Color negatives at the demise of silver halides". ICOM-CC 18th Triennial Conference Preprints, Copenhagen, 4–8 September 2017.
- "Photographic film with latent image multi-field bar code and eye-readable symbols".
- "Method of printing frame numbers from DX-coded photographic film not having frame number codes".
- [[Kodak]] press announcement 1-83-1425, 1983
- [[Kodak]] press announcement 1-83-1427, 1983
- "History of Innovations". [[Pentax]].
- "History of Innovations". [[Pentax]].
- "Introduction of the Minolta AF-E / Freedom II in July 1984". [[Konica Minolta]].
- "Introduction of the Minolta 7000 AF in February 1985". [[Konica Minolta]].
- "Film magazine having film speed indicating means".
- (1977-02-16). "Fuji's Latest Auto-System". [[Amateur Photographer]].
- (2005-10-22). "Ausführliche Informationen zum DX/CAS-Code". Minolta-Forum.
- (2008-08-24). "Infos zu Mittelformatrollfilmen mit Barcodekennung - Barcodes auf Fujifilm Brownies". Minolta-Forum.
- (2000-02-15). "US-Patent #6026250 "Camera, bar code reader for camera and method of detecting bar code reading". [[Fuji Photo Film Co., Ltd.]], [[Fuji Photo Optical Co., Ltd.]].
- (2000-04-18). "US-Patent #6050489: Bar code system for brownie film and bar code reader of camera". [[Fuji Photo Film Co., Ltd.]], [[Fuji Photo Optical Co., Ltd.]].
- (2001-03-27). "US-Patent #6208812: Camera with bar code reader". [[Fuji Photo Film Co., Ltd.]], [[Fuji Photo Optical Co., Ltd.]].
- (2000-04-18). "US-Patent #6052538: Camera and exposure control method". [[Fuji Photo Film Co., Ltd.]], [[Fuji Photo Optical Co., Ltd.]].
::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::