Design rule for Camera File system

Last updated

Design rule for Camera File system (DCF) is a JEITA specification (number CP-3461) which defines a file system for digital cameras, including the directory structure, file naming method, character set, file format, and metadata format. It is currently the de facto industry standard for digital still cameras. The file format of DCF conforms to the Exif specification, but the DCF specification also allows use of any other file formats. As of 2021, the latest version of the standard was 2.0, issued in 2010. [1]

Contents

File system

In order to guarantee interoperability, DCF specifies the file system for image and sound files to be used on formatted DCF media (like removable or non-removable memory) as FAT12, FAT16, FAT32, or exFAT. [2] Media with a capacity of more than 2 GB must be formatted using FAT32 or exFAT. [2]

The DCF standard defines that the "Read Only" file and directory attribute of FAT file systems can be used to protect files or directories from accidental deletion. Other existing attributes don't have any specially defined usage in DCF.

Directory and file structure

The filesystem in a digital camera contains a DCIM (digital camera images) directory, which can contain multiple subdirectories with names such as "123ABCDE" that consist of a unique directory number (in the range 100…999) and five alphanumeric characters (or any valid filename characters), which may be freely chosen and often refer to a camera maker. These directories contain files with names such as "ABCD1234.JPG" that consist of four alphanumeric characters (often "100_", "DSC0", "DSCF", "IMG_", "MOV_", or "P000"), followed by a number in the range 0001...9999.

DCF 2.0 adds support for DCF optional files recorded in an optional color space (that is, Adobe RGB rather than sRGB). Such files must be indicated by a leading "_" (e.g. "_DSC" instead of "DSC_" or "DSC0").[ citation needed ]

The file extension of these files is for example "JPG" for Exif JPEG files and "THM" for Exif files that represent thumbnails of other files than JPEG. Other file formats use different extensions. Multiple files sharing a number (even if the file extension or the four alphanumeric characters are different) are considered related and form a DCF object. Prior to the introduction of DCF 2.0, some camera vendors (e.g. Minolta and Konica Minolta) chose to use the file extension to indicate the recorded color space, that is, "JPG" was used for sRGB, whereas "JPE" was used for Adobe RGB.[ citation needed ]

As an example of the DCF structure, the files on a Nikon D40 are arranged according to the above specification. Specifically, a card formatted by the camera will have a volume named "NIKOND40", with a subdirectory named "DCIM". This directory contains a subdirectory named by default "100NCD40", in which images are stored. Images in this folder are named "DSC_xxxx", where xxxx represents the file's sequential number. [3]

As this is an industry standard, similar directory structures and naming procedures can be found in most digital cameras. The standard leaves room for varying types of file and directory organisations. Some manufacturers choose filenames that include the subdirectory number as part of the alphanumeric part of the filename. For example, for some of their camera models, Panasonic's DCF file numbering has filenames starting with "P" (for "Panasonic"), followed by the number of the DCF subdirectory it is in, followed by the actual image number, only ranging until 999, i.e. possible filenames are P1000001, P1000002, ... , P9990999 (with the "0" remaining constant between files, serving no identifying purpose). Similarly, a GoPro Hero 8 camera's numbering is e.g. GH0100001, GH0100002, ... , GH9990999 (note however that the latter consists of nine characters instead of eight, so GoPro deviates from the DCF standard). On the other hand, other manufacturers, such as Canon, Nikon and Sony, do usually not use numbering in the alphanumeric part of the filename. Instead, Sony and Nikon tend to use "DSC_" for many camera models, while Canon opts to use "IMG_" for image based files, "MVI_" for video based files and "CSI_" for pictures taken in burst mode, thereby using the filename to indicate the type or the mode of photography used. [4]

DCF File Structure DCF file structure as seen through Nautilus.png
DCF File Structure

A general example of a DCF directory and file structure can be given as follows:

DCF objects

DCF object is a standalone file with DCF filename (e.g. ABCD0001.JPG) or a file group that shares the same file number. DCF objects are used for the files related with each other, such as the image file and the related audio file. Related files are handled together for the convenience of users. A DCF object need not include an image file. A standalone file for which no other file with the same file number exists is still a DCF object. Files in directories that are not located under a DCF directory are not DCF object components.

DCF specification defines files included in DCF objects:

Files not specified in DCF specification (with other extensions and data structures, e.g. "TXT", "WAV", "TIF" etc.) may also be included in a DCF object.

The rules for DCF object structure and elements prohibit the use of DCF thumbnail files for files with ".JPG" extension. They also prohibit the extension "JPG" for other than DCF basic files and DCF optional files.

One DCF directory may contain up to 9999 DCF objects, numbered from "0001" to "9999" (except for some manufacturers like Panasonic which number from "0001" to "0999"). This number is also known as a "file number". Consequently, if the prefix used is "DSC0", it may cause users who are not aware of the DCF standard to wonder why the picture counter wraps around after 9999, while there is seemingly still a significant number left. For example, the next file after DSC09999.JPG will create a new folder containing DSC00001.JPG, rather than continuing in the same folder to DSC10000.JPG.

DCF media

DCF media is defined as removable memory recorded in compliance with the DCF specification or, removable and non-removable memory that a file system can access from an external device through IF (regardless of wired or wireless)[ vague ].

Access

Camera file systems can usually be accessed by directly mounting them via the USB mass storage device class protocol, which exposes the file layout, whether DCF compliant or otherwise. Alternatively, and independent of DCF, files may be accessed via the Picture Transfer Protocol, which provides an object-oriented view and need not expose the file layout.

The file system layout is often opaque to users, as images are copied onto a computer or printer and the application deals with layout.

See also

Related Research Articles

<span class="mw-page-title-main">Digital camera</span> Camera that captures photographs or video in digital format

A digital camera is a camera that captures photographs in digital memory. Most cameras produced today are digital, largely replacing those that capture images on photographic film. Digital cameras are now widely incorporated into mobile devices like smartphones with the same or more capabilities and features of dedicated cameras. High-end, high-definition dedicated cameras are still commonly used by professionals and those who desire to take higher-quality photographs.

The JPEG File Interchange Format (JFIF) is an image file format standard published as ITU-T Recommendation T.871 and ISO/IEC 10918-5. It defines supplementary specifications for the container format that contains the image data encoded with the JPEG algorithm. The base specifications for a JPEG container format are defined in Annex B of the JPEG standard, known as JPEG Interchange Format (JIF). JFIF builds over JIF to solve some of JIF's limitations, including unnecessary complexity, component sample registration, resolution, aspect ratio, and color space. Because JFIF is not the original JPG standard, one might expect another MIME type. However, it is still registered as "image/jpeg".

Tag Image File Format or Tagged Image File Format, commonly known by the abbreviations TIFF or TIF, is an image file format for storing raster graphics images, popular among graphic artists, the publishing industry, and photographers. TIFF is widely supported by scanning, faxing, word processing, optical character recognition, image manipulation, desktop publishing, and page-layout applications. The format was created by the Aldus Corporation for use in desktop publishing. It published the latest version 6.0 in 1992, subsequently updated with an Adobe Systems copyright after the latter acquired Aldus in 1994. Several Aldus or Adobe technical notes have been published with minor extensions to the format, and several specifications have been based on TIFF 6.0, including TIFF/EP, TIFF/IT, TIFF-F and TIFF-FX.

<span class="mw-page-title-main">Exif</span> Metadata standard in digital images

Exchangeable image file format is a standard that specifies formats for images, sound, and ancillary tags used by digital cameras, scanners and other systems handling image and sound files recorded by digital cameras. The specification uses the following existing encoding formats with the addition of specific metadata tags: JPEG lossy coding for compressed image files, TIFF Rev. 6.0 for uncompressed image files, and RIFF WAV for audio files. It does not support JPEG 2000 or GIF encoded images.

Files-11 is the file system used in the RSX-11 and OpenVMS operating systems from Digital Equipment Corporation. It supports record-oriented I/O, remote network access, and file versioning. The original ODS-1 layer is a flat file system; the ODS-2 version is a hierarchical file system, with support for access control lists,.

Picture Transfer Protocol (PTP) is a protocol originally developed by the Photographic and Imaging Manufacturers Association (PIMA) to allow the transfer of images from digital cameras to computers and other peripheral devices without the need for additional device drivers. The protocol was standardized by the ISO in 2005. The current version of the standard is ISO 15740:2013.

<span class="mw-page-title-main">Nikon D2H</span> Digital single-lens reflex camera

The Nikon D2H is a professional-grade digital single-lens reflex camera introduced by Nikon Corporation on July 22, 2003. It uses Nikon's own JFET-LBCAST sensor with a 4.1-megapixel resolution, and is optimised for sports and action shooting that require a high frame rate. In 2005, the D2H was replaced by the D2Hs, which added new features derived from the 12-megapixel D2X digital SLR. The D2Hs was discontinued after the introduction of the D300 and D3 models.

An image file format is a file format for a digital image. There are many formats that can be used, such as JPEG, PNG, and GIF. Most formats up until 2022 were for storing 2D images, not 3D ones. The data stored in an image file format may be compressed or uncompressed. If the data is compressed, it may be done so using lossy compression or lossless compression. For graphic design applications, vector formats are often used. Some image file formats support transparency.

A camera raw image file contains unprocessed or minimally processed data from the image sensor of either a digital camera, a motion picture film scanner, or other image scanner. Raw files are so named because they are not yet processed, and contain large amounts of potentially redundant data. Normally, the image is processed by a raw converter, in a wide-gamut internal color space where precise adjustments can be made before conversion to a viewable file format such as JPEG or PNG for storage, printing, or further manipulation. There are dozens of raw formats in use by different manufacturers of digital image capture equipment.

<span class="mw-page-title-main">Nikon Coolpix 8400</span> Digital camera model

The Nikon Coolpix 8400 is a digital camera announced September 16, 2004, succeeding the Nikon Coolpix 5400. It is a high-end model among the brand's range of bridge cameras with eight megapixels, only below the Nikon Coolpix 8800 equipped with a more powerful zoom lens. Besides its pixel count, its main selling point is the very wide angle lens, equivalent to a 24 mm in 135 film format. Its only competitor at a comparable price is the Kodak EasyShare P880, which has longer telephoto lens but is bigger and lacks a swivelling screen.

This article describes the technical specifications of the OpenDocument office document standard, as developed by the OASIS industry consortium. A variety of organizations developed the standard publicly and make it publicly accessible, meaning it can be implemented by anyone without restriction. The OpenDocument format aims to provide an open alternative to proprietary document formats.

Tag Image File Format/Electronic Photography (TIFF/EP) is a digital image file format standard – ISO 12234-2, titled "Electronic still-picture imaging – Removable memory – Part 2: TIFF/EP image data format". This is different from the Tag Image File Format, which is a standard administered by Adobe currently called "TIFF, Revision 6.0 Final – June 3, 1992".

Camera & Imaging Products Association is a Japan-based organization set up in July 2002 to deal with technologies related to photography. Its members are engaged with the production of film-based and digital cameras, and other related equipment.

The Open Packaging Conventions (OPC) is a container-file technology initially created by Microsoft to store a combination of XML and non-XML files that together form a single entity such as an Open XML Paper Specification (OpenXPS) document. OPC-based file formats combine the advantages of leaving the independent file entities embedded in the document intact and resulting in much smaller files compared to normal use of XML.

ViewMinder is a computer application for managing content, rights and usage of digital images using structured metadata. The program was first published in August 2003. The freeware version, ViewMinder Express, had the same features but could organize no more than 250 pictures.

<span class="mw-page-title-main">FastPictureViewer</span>

FastPictureViewer is a freemium image viewer for Windows XP and later. Its aim is to facilitate quick review, rating and annotation of large quantities of digital images in the early steps of the digital workflow, with an emphasis on simplicity and speed. As an app with a freemium license, a basic version is available cost-free for personal, non-profit or educational uses, while a commercial license is required for the professional version with additional features. The basic version starts as a full version trial.

<span class="mw-page-title-main">ExifTool</span> Software

ExifTool is a free and open-source software program for reading, writing, and manipulating image, audio, video, and PDF metadata. It is platform independent, available as both a Perl library (Image::ExifTool) and command-line application. ExifTool is commonly incorporated into different types of digital workflows and supports many types of metadata including Exif, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, AFCP and ID3, as well as the manufacturer-specific metadata formats of many digital cameras.

.m2ts is a filename extension used for the Blu-ray disc Audio-Video (BDAV) MPEG-2 Transport Stream (M2TS) container file format. It is used for multiplexing audio, video and other streams, such as subtitles. It is based on the MPEG-2 transport stream container. This container format is commonly used for high definition video on Blu-ray Disc and AVCHD.

Sidecar files, also known as buddy files or connected files, are computer files that store data which is not supported by the format of a source file.

A file format is a standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary or free.

References

  1. "JEITA Standards / AV&IT Technology Standardization / Digital Cameras". JEITA. Retrieved 28 January 2021.
  2. 1 2 Standard of the Camera & Imaging Products Association, CIPA DC- 009-Translation- 2010, Design rule for Camera File system: DCF Version 2.0 (Edition 2010) (PDF), archived from the original (PDF) on 2013-09-30, retrieved 2011-04-13
  3. Nikon Corporation, "The Nikon Guide to Digital Photography with the D40 Digital Camera", Nikon, p 31. retrieved from https://downloadcenter.nikonimglib.com/en/products/6/D40.html at 6 August 2022
  4. Europe, Canon. "File Naming and Numbering". Canon Europe. Retrieved 2022-08-06.