Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to create my own file type and my own metadata? I read on the internet that this is not possible. So how are jpeg and mp3 files with their own metadata made?

What I have tried:

I have no idea. I've read that it can be done with DSOfile but not a complete solution.
Posted
Updated 2-Nov-22 10:47am
Comments
[no name] 2-Nov-22 16:18pm    
You need a "file format"; e.g. a "class" that defines the layout. Now you have a "file of a given type" (of layout and function). "Meta data" could be as simple as a (4 byte) leading int that tell how long a (variable) record is.
gacar 2-Nov-22 16:41pm    
Does 4 bytes of data point to an address? For example, do I need 6 pieces of 4-byte data for 6 pieces of metadata?
Dave Kreskowiak 2-Nov-22 19:22pm    
Metadata is whatever you want it to be! YOU choose what data you want to expose. Once you have that figured out, you have to write the code to hold that data in your class.
Graeme_Grant 2-Nov-22 16:47pm    
You totally missed what he was asking...

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900