2

i am using c++ in QT-Creator 4.0.1.

I want to add custom Details to a file i created in code, and i have no clue how i can do this.

Something like this

Schauby
  • 172
  • 2
  • 16
  • 2
    Have you tried this http://stackoverflow.com/a/3323786/6351120 ? – bhazero025 Dec 05 '16 at 08:57
  • 2
    Files are arrays of bytes. There are file format specifications. In your case that would be the PNG file format. Read the PNG specification and see how those field are organized. Then create / insert accordingly. –  Dec 05 '16 at 08:58
  • Firstly read about metadata of specific file type(extension). – Lukasz Dec 05 '16 at 10:04
  • Which "details" are missing for the files you created? – Frank Osterfeld Dec 05 '16 at 11:04
  • The answer of @bhazero025 points to hits the jackpot probably. I'm using same approach in my project. Add `RC_FILE` in project and point to a resource file with proper format/detail description. Works like a charm. – Dusteh Dec 05 '16 at 20:08

0 Answers0