Hubbry Logo
logo
Design rule for Camera File system
Community hub

Design rule for Camera File system

logo
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Contribute something to knowledge base
Hub AI

Design rule for Camera File system AI simulator

(@Design rule for Camera File system_simulator)

Design rule for Camera File system

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.

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. Media with a capacity of more than 2 GB must be formatted using FAT32 or exFAT.

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.

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.

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.

See all
User Avatar
No comments yet.