Go to file
2024-05-13 09:42:59 -07:00
pkg/dcf latest 2024-05-13 09:42:59 -07:00
.gitignore initial, not sure if it works 2024-05-12 09:37:34 -07:00
go.mod latest 2024-05-13 09:42:59 -07:00
go.sum latest 2024-05-13 09:42:59 -07:00
LICENSE initial, not sure if it works 2024-05-12 09:37:34 -07:00
Makefile latest 2024-05-13 09:42:59 -07:00
README.md latest 2024-05-13 09:42:59 -07:00

dcf

Golang reader implementation of the so-called "Design rule for Camera File system" or DCF, aka JEITA (Japan Electronics and Information Technology Industries Association) specification number CP-3461.

wikipedia.org/wiki/Design_rule_for_Camera_File_system

The DCF specification is why your digital camera puts images and videos in DCIM and PRIVATE/M4ROOT directories on the memory card.

why

I wanted to copy images off my memory cards for processing and like overengineering and reusable code.

bugs

does not yet handle "dcf file groups" where multiple objects share the same index number. if you need this, send me a link to a zip or tar of a memory card that uses it and i'll see what i can do.

author

sneak <sneak@sneak.berlin>

license

WTFPL