_PTPObjectInfo(3)

πŸ“¦ version 1.1.23, in arch rolling

πŸ’… _PTPObjectInfo(3) β€” Library Functions Manual, bestie

okay so picture this: you're deep in libmtp land, poking at a struct that holds literally everything the camera wants you to know about one single object (a photo, a video, a lil playlist of vibes). That struct is _PTPObjectInfo, and this page is its whole entire glow-up guide. No cap, it's just the data fields β€” every single one of them, listed below in all their glory. 🌸


✨ SYNOPSIS ✨

πŸŽ€ Data Fields

These are the fields, in order, exactly as they live in the struct. Read 'em, love 'em, don't rename 'em:

  • uint32_t StorageID β€” which storage the object calls home 🏠
  • uint16_t ObjectFormat β€” what kind of thing it is (format-wise)
  • uint16_t ProtectionStatus β€” the protection status, i.e. is it guarded
  • uint64_t ObjectCompressedSize β€” how big the object is, compressed, big ol' uint64_t
  • uint16_t ThumbFormat β€” the thumbnail's format
  • uint32_t ThumbCompressedSize β€” how chonky the compressed thumbnail is
  • uint32_t ThumbPixWidth β€” thumbnail width in pixels
  • uint32_t ThumbPixHeight β€” thumbnail height in pixels
  • uint32_t ImagePixWidth β€” the actual image width in pixels
  • uint32_t ImagePixHeight β€” the actual image height in pixels
  • uint32_t ImageBitDepth β€” bit depth of the image, the way that it just… has depth
  • uint32_t ParentObject β€” the parent object, iykyk (hierarchy is real)
  • uint16_t AssociationType β€” association type, for when objects roll in groups
  • uint32_t AssociationDesc β€” the description that goes with the association
  • uint32_t SequenceNumber β€” sequence number, for keeping order
  • char * Filename β€” pointer to the filename, iconic
  • time_t CaptureDate β€” when it got captured, as a time_t
  • time_t ModificationDate β€” when it got modified, also a time_t
  • char * Keywords β€” pointer to the keywords, for tagging your faves

πŸ’– lowkey important: these are all data fields, not functions. Nobody's calling anything here β€” you're just looking at the shape of the struct. Slay.

πŸ‘‘ Author

Generated automatically by Doxygen for libmtp from the source code. Not a human, not a group chat, just Doxygen doing its lil thing. πŸ€–βœ¨


and that's the whole page, bestie β€” this came straight out of libmtp, Version 1.1.23, with the manual living under the name _PTPObjectInfo(3) in the Library Functions Manual section. drink some water, hydrate your shell, and go read a struct like the main character you are πŸ«ΆπŸ’œπŸŽ€

πŸ“¦ where this page comes from