{"id":16048925,"url":"https://github.com/devongovett/exif-reader","last_synced_at":"2025-04-04T15:09:50.555Z","repository":{"id":46052336,"uuid":"31755062","full_name":"devongovett/exif-reader","owner":"devongovett","description":"A small EXIF image metadata reader","archived":false,"fork":false,"pushed_at":"2024-01-28T16:39:52.000Z","size":1189,"stargazers_count":150,"open_issues_count":3,"forks_count":22,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-10T00:11:12.464Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devongovett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-03-06T06:02:57.000Z","updated_at":"2024-10-08T04:13:52.000Z","dependencies_parsed_at":"2024-06-18T13:36:36.531Z","dependency_job_id":"c3ac7d4e-4c48-4154-9bb5-f8f939954a53","html_url":"https://github.com/devongovett/exif-reader","commit_stats":{"total_commits":25,"total_committers":10,"mean_commits":2.5,"dds":0.64,"last_synced_commit":"dcc9e290b77410646d677b3db8a6ed9308d32eee"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fexif-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fexif-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fexif-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fexif-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devongovett","download_url":"https://codeload.github.com/devongovett/exif-reader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198463,"owners_count":20900080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T00:11:17.564Z","updated_at":"2025-04-04T15:09:50.532Z","avatar_url":"https://github.com/devongovett.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# exif-reader\n\nA small EXIF image metadata reader.\n\n## Usage\n\n    npm install exif-reader\n\n\n```javascript\nvar exif = require('exif-reader');\n\n// decode raw exif data from a buffer\nvar metadata = exif(buf);\n```\n\nSupport is also built into [jpg-stream](https://github.com/devongovett/jpg-stream) for extracting EXIF data from JPEGs using this module.\n\nResulting properties are grouped as follows:\n\n* `bigEndian`: determines the endianness of the buffers (in case of non-ascii data)\n* `Image`: basic TIFF properties about the image\n* `Thumbnail`: basic TIFF properties about the embedded thumbnail\n* `Photo`: full exif data\n* `GPSInfo`: GPS/location data about the image\n* `Iop`: interoperability information\n\nNot all of these properties will always be defined.\n\nAll [standard Exif tags](https://exiv2.org/tags.html) are supported.\n\nHere is some example output:\n\n```\n{\n  bigEndian: false,\n  Image: {\n    ImageWidth: 2448,\n    ImageLength: 3264,\n    Make: 'Some Make',\n    Model: 'Some Model',\n    Orientation: 1,\n    XResolution: 72,\n    YResolution: 72,\n    ResolutionUnit: 2,\n    Software: 'HDR+ 1.0.520435816zd',\n    DateTime: 2023-05-20T17:02:00.000Z,\n    YCbCrPositioning: 1,\n  },\n  Thumbnail: {\n    ImageWidth: 219,\n    ImageLength: 292,\n    Compression: 6,\n    Orientation: 1,\n    XResolution: 72,\n    YResolution: 72,\n    ResolutionUnit: 2,\n  },\n  Photo: {\n    ExposureTime: 0.016679,\n    FNumber: 2,\n    ExposureProgram: 2,\n    ISOSpeedRatings: 129,\n    ExifVersion: Buffer(4) [Uint8Array] [ 48, 50, 51, 50 ],\n    DateTimeOriginal: 2023-05-20T17:02:00.000Z,\n    DateTimeDigitized: 2023-05-20T17:02:00.000Z,\n    OffsetTime: '+02:00',\n    OffsetTimeOriginal: '+02:00',\n    OffsetTimeDigitized: '+02:00',\n    ShutterSpeedValue: 5.91,\n    ApertureValue: 2,\n    BrightnessValue: 2.54,\n    ExposureBiasValue: 0,\n    MaxApertureValue: 2,\n    SubjectDistance: 0.35,\n    MeteringMode: 2,\n    Flash: 16,\n    FocalLength: 2.57,\n    SubSecTime: '811',\n    SubSecTimeOriginal: '811',\n    SubSecTimeDigitized: '811',\n    FlashpixVersion: Buffer(4) [Uint8Array] [ 48, 49, 48, 48 ],\n    ColorSpace: 1,\n    PixelXDimension: 2448,\n    PixelYDimension: 3264,\n    InteroperabilityTag: 958,\n    SensingMethod: 2,\n    CustomRendered: 1,\n    ExposureMode: 0,\n    WhiteBalance: 0,\n    DigitalZoomRatio: 1.4,\n    FocalLengthIn35mmFilm: 24,\n    SceneCaptureType: 0,\n    Contrast: 0,\n    Saturation: 0,\n    Sharpness: 0,\n    SubjectDistanceRange: 1,\n    LensMake: 'Some Lens Make',\n    LensModel: 'Some front camera 2.57mm f/2.0',\n    CompositeImage: 3\n  },\n  GPSInfo: {\n    GPSLatitudeRef: 'N',\n    GPSLatitude: [ 49, 1, 3.12 ],\n    GPSLongitudeRef: 'E',\n    GPSLongitude: [ 11, 1, 4.56 ],\n    GPSAltitudeRef: 0,\n    GPSAltitude: 296.1,\n    GPSTimeStamp: [ 15, 1, 48 ],\n    GPSImgDirectionRef: 'M',\n    GPSImgDirection: 258,\n    GPSDateStamp: '2023:05:20'\n  }\n}\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Fexif-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevongovett%2Fexif-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Fexif-reader/lists"}