Knowledge

Design rule for Camera File system

Source 📝

213:
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.
171:, 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. 25: 217: 371:
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
342:
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
192:
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
208:
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
212:
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
372:
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.
343:
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.
367:
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.
353:
DCF optional file – an image file with filename extension ".JPG" conforming to the Exif specification, used when an image is to undergo extensive processing notably in professional uses; uses DCF optional color
412: 147:" 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. 380:
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
74: 46: 477:
Standard of the Camera & Imaging Products Association, CIPA DC- 009-Translation- 2010, Design rule for Camera File system: DCF Version 2.0 (Edition 2010)
108:
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.
364:
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.
360:
DCF thumbnail file – a thumbnail image file with filename extension ".THM", used for extended image file; uses sRGB color space and JPEG compression
396:
protocol, which exposes the file layout, whether DCF compliant or otherwise. Alternatively, and independent of DCF, files may be accessed via the
201:) 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. 475: 581: 403:
The file system layout is often opaque to users, as images are copied onto a computer or printer and the application deals with layout.
33: 548: 350:
DCF basic file – an image file with filename extension ".JPG" conforming to the Exif specification; uses sRGB color space
506:
Nikon Corporation, "The Nikon Guide to Digital Photography with the D40 Digital Camera", Nikon, p 31. retrieved from
447: 105: 427: 393: 597: 567: 306:(directories other than DCF directories are also allowed; they shall not have the same name as DCF file) 521: 422: 397: 484: 575: 168: 120:, DCF specifies the file system for image and sound files to be used on formatted DCF media (like 38: 553: 507: 357:
DCF extended image file – a file with a filename (and data structure) other than "JPG" or "THM".
381: 216: 101: 182:). Such files must be indicated by a leading "_" (e.g. "_DSC" instead of "DSC_" or "DSC0"). 174:
DCF 2.0 adds support for DCF optional files recorded in an optional color space (that is,
8: 559: 275:(a DCF object formed by naming non-image file with the same file number as an image file) 144: 285: 117: 260:(a DCF thumbnail file for extended image file; it is not allowed for ".JPG" files) 140:. Media with a capacity of more than 2 GB must be formatted using FAT32 or exFAT. 571: 224:
A general example of a DCF directory and file structure can be given as follows:
121: 97: 198: 82: 400:, which provides an object-oriented view and need not expose the file layout. 392:
Camera file systems can usually be accessed by directly mounting them via the
591: 413:
CIFF Specification on File/Directory organization and File Handling Protocol
448:"JEITA Standards / AV&IT Technology Standardization / Digital Cameras" 90: 78: 156: 205: 175: 86: 94: 194: 209:"DSC_xxxx", where xxxx represents the file's sequential number. 24: 564: 508:
https://downloadcenter.nikonimglib.com/en/products/6/D40.html
137: 133: 129: 125: 417: 189: 186: 185:
The file extension of these files is for example "JPG" for
179: 346:
DCF specification defines files included in DCF objects:
300:(other filenames and extensions may be assigned freely) 288:
which contains the raw image data of the DCF object)
204:As an example of the DCF structure, the files on a 193:introduction of DCF 2.0, some camera vendors (e.g. 589: 150: 77:specification (number CP-3461) which defines a 16:Definition of a file system for digital cameras 266:(a DCF object need not include an image file) 93:, and metadata format. It is currently the 104:. The file format of DCF conforms to the 215: 49:of all important aspects of the article. 582:Exif Page with a little DCF information 323:(a DCF basic file or DCF optional file) 245:(a DCF basic file or DCF optional file) 590: 45:Please consider expanding the lead to 565:Version 1.0 Specification at exif.org 85:, including the directory structure, 470: 468: 18: 384:(regardless of wired or wireless). 143:The DCF standard defines that the " 13: 519: 67:Design rule for Camera File system 14: 609: 542: 465: 560:Official JEITA DCF Standard Page 23: 159:in a digital camera contains a 37:may be too short to adequately 549:DCF Version 2.0 (Edition 2010) 513: 500: 440: 337: 111: 47:provide an accessible overview 1: 433: 428:USB mass storage device class 394:USB mass storage device class 375: 151:Directory and file structure 124:or non-removable memory) as 7: 522:"File Naming and Numbering" 406: 254:(a DCF extended image file) 10: 614: 423:Picture Transfer Protocol 398:Picture Transfer Protocol 387: 89:method, character set, 554:Android storage system 221: 116:In order to guarantee 219: 165:digital camera images 102:digital still cameras 598:Digital photography 570:2012-02-04 at the 222: 220:DCF File Structure 317:(a DCF directory) 239:(a DCF directory) 98:industry standard 64: 63: 605: 536: 535: 533: 532: 517: 511: 510:at 6 August 2022 504: 498: 497: 496: 495: 489: 483:, archived from 482: 472: 463: 462: 460: 458: 444: 162: 118:interoperability 59: 56: 50: 27: 19: 613: 612: 608: 607: 606: 604: 603: 602: 588: 587: 572:Wayback Machine 545: 540: 539: 530: 528: 520:Europe, Canon. 518: 514: 505: 501: 493: 491: 487: 480: 474: 473: 466: 456: 454: 446: 445: 441: 436: 409: 390: 378: 340: 160: 153: 114: 83:digital cameras 60: 54: 51: 44: 32:This article's 28: 17: 12: 11: 5: 611: 601: 600: 586: 585: 579: 562: 557: 556:(Edition 2018) 551: 544: 543:External links 541: 538: 537: 512: 499: 464: 438: 437: 435: 432: 431: 430: 425: 420: 415: 408: 405: 389: 386: 377: 374: 362: 361: 358: 355: 351: 339: 336: 335: 334: 333: 332: 331: 330: 329: 328: 325: 313: 310: 309: 308: 302: 296: 293: 290: 286:raw image file 280: 277: 271: 268: 262: 256: 250: 247: 199:Konica Minolta 152: 149: 113: 110: 62: 61: 41:the key points 31: 29: 22: 15: 9: 6: 4: 3: 2: 610: 599: 596: 595: 593: 583: 580: 577: 573: 569: 566: 563: 561: 558: 555: 552: 550: 547: 546: 527: 523: 516: 509: 503: 490:on 2013-09-30 486: 479: 478: 471: 469: 453: 449: 443: 439: 429: 426: 424: 421: 419: 416: 414: 411: 410: 404: 401: 399: 395: 385: 383: 373: 369: 365: 359: 356: 352: 349: 348: 347: 344: 326: 324: 321:ABCD0001.JPG 320: 319: 318: 314: 311: 307: 303: 301: 297: 294: 291: 289: 287: 282:ABCD0006.RAW 281: 278: 276: 273:ABCD0005.WAV 272: 269: 267: 264:ABCD0004.WAV 263: 261: 258:ABCD0003.THM 257: 255: 252:ABCD0003.TIF 251: 248: 246: 243:ABCD0001.JPG 242: 241: 240: 236: 235: 234: 233:(a directory) 230: 229: 227: 226: 225: 218: 214: 210: 207: 202: 200: 196: 191: 188: 183: 181: 177: 172: 170: 166: 158: 148: 146: 141: 139: 135: 131: 127: 123: 119: 109: 107: 103: 99: 96: 92: 88: 84: 80: 76: 72: 68: 58: 48: 42: 40: 35: 30: 26: 21: 20: 529:. Retrieved 526:Canon Europe 525: 515: 502: 492:, retrieved 485:the original 476: 455:. Retrieved 451: 442: 402: 391: 379: 370: 366: 363: 345: 341: 322: 316: 305: 299: 295:ABCD9999.JPG 283: 279:ABCD0006.JPG 274: 270:ABCD0005.JPG 265: 259: 253: 249:ABCD0002.JPG 244: 238: 232: 223: 211: 203: 184: 178:rather than 173: 164: 154: 142: 115: 70: 66: 65: 55:January 2024 52: 36: 34:lead section 338:DCF objects 298:README.TXT 112:File system 91:file format 87:file naming 79:file system 584:(archived) 531:2022-08-06 494:2011-04-13 457:28 January 434:References 157:filesystem 376:DCF media 315:999ABCDE 237:100ABCDE 206:Nikon D40 176:Adobe RGB 169:directory 145:Read Only 122:removable 39:summarize 592:Category 568:Archived 407:See also 327:... etc. 95:de facto 195:Minolta 73:) is a 388:Access 488:(PDF) 481:(PDF) 452:JEITA 354:space 231:DCIM 228:Root 138:exFAT 136:, or 134:FAT32 130:FAT16 126:FAT12 75:JEITA 459:2021 418:DPOF 304:ETC 197:and 190:JPEG 187:Exif 180:sRGB 161:DCIM 155:The 106:Exif 100:for 81:for 576:PDF 312:... 292:... 284:(a 71:DCF 594:: 524:. 467:^ 450:. 382:IF 167:) 132:, 128:, 578:) 574:( 534:. 461:. 163:( 69:( 57:) 53:( 43:.

Index


lead section
summarize
provide an accessible overview
JEITA
file system
digital cameras
file naming
file format
de facto
industry standard
digital still cameras
Exif
interoperability
removable
FAT12
FAT16
FAT32
exFAT
Read Only
filesystem
directory
Adobe RGB
sRGB
Exif
JPEG
Minolta
Konica Minolta
Nikon D40

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.