Skip to content

AlexLav3/meta_extra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

30 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Metadata extract ๐Ÿ•ต

โ“ What Is It?

A C program that extracts EXIF metadata (like camera make, model, and GPS coordinates) directly from JPEG files, no third-party or platform-specific libraries required. Uses only standard C library functions (fopen, printf, etc.) and processes files as raw byte buffers.

Functionality

  • Parses JPEG files for embedded EXIF metadata
  • Locates EXIF segment and TIFF header

Extracts:

  • Camera make and model
  • Latitude and Longitude (if available)

All processing is done using manual offset calculations and byte-level logic.

โš ๏ธ ๐Ÿ“ Notes

โœ… Tested with photos taken on Android devices

โ— Not all JPEGs contain EXIF data especially if edited, downloaded from certain platforms (ex. Instagram), or stripped by privacy settings

โœ‰๏ธ Photos sent via Gmail (to self) retain EXIF data

Works entirely with raw byte buffers and offsets Developed on Ubuntu/Debian

๐Ÿ› ๏ธ Built With C (ISO C99) GCC Ubuntu Linux Debian

๐Ÿ“‚ Usage

  • make
  • ./meta_ext file_name.jpg

๐Ÿ” Why? This project was built to better understand: JPEG and EXIF binary structure Endianness and byte-wise data parsing Working with pointers and raw memory access in C

About

A C program that extracts EXIF metadata from a jpeg

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published