{"id":21765215,"url":"https://github.com/abrander/apexif","last_synced_at":"2025-03-21T05:17:51.998Z","repository":{"id":213780938,"uuid":"642247512","full_name":"abrander/apexif","owner":"abrander","description":"Go package for reading EXIF data from various image formats","archived":false,"fork":false,"pushed_at":"2024-01-26T12:08:34.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-26T13:11:49.380Z","etag":null,"topics":["exif","exif-reader","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/abrander.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":"2023-05-18T06:26:51.000Z","updated_at":"2023-12-24T04:14:19.000Z","dependencies_parsed_at":"2024-01-24T14:45:27.643Z","dependency_job_id":"86b34e29-9cf4-4a09-98f1-764b88dcc7fc","html_url":"https://github.com/abrander/apexif","commit_stats":null,"previous_names":["abrander/apexif"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrander%2Fapexif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrander%2Fapexif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrander%2Fapexif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrander%2Fapexif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abrander","download_url":"https://codeload.github.com/abrander/apexif/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739950,"owners_count":20501992,"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":["exif","exif-reader","go","golang"],"created_at":"2024-11-26T13:11:20.309Z","updated_at":"2025-03-21T05:17:51.978Z","avatar_url":"https://github.com/abrander.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apexif\n\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/abrander/apexif)](https://pkg.go.dev/github.com/abrander/apexif)\n\nThis is a simple Go package for reading EXIF data from various file\nformats. It's build for speed and simplicity. The package does not\nhave any dependencies.\n\nAll data must be loaded in memory (or mmapped) before calling `Identify()`.\n\n### Supported file formats\n\n- [x] CR2\n- [x] CRW\n- [x] HEIC\n- [x] JPEG\n- [x] PNG\n- [x] TIFF\n- [x] WebP\n\n#### Supported container types\n\n- [x] ISOBMFF (MPEG-4 Part 12)\n- [x] RIFF\n- [x] TIFF\n\nThese are not file formats and only interesting for developers of\nthis package.\n\n### Usage example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\n\t\"github.com/abrander/apexif\"\n)\n\nfunc main() {\n\tdata, err := os.ReadFile(\"example.jpeg\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tf, err := apexif.Identify(data)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"Yay. We got a %s image.\\n\", f.Name())\n\n\te, err := f.Exif()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tmake, _ := e.Make()\n\tfmt.Printf(\"The image was captured by a %s camera.\\n\", make)\n}\n```\n\n### License\n\nThis package is licensed under the MIT license. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabrander%2Fapexif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabrander%2Fapexif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabrander%2Fapexif/lists"}