{"id":26141087,"url":"https://github.com/danielsz/beeld","last_synced_at":"2025-07-17T04:32:38.509Z","repository":{"id":281473397,"uuid":"942225651","full_name":"danielsz/beeld","owner":"danielsz","description":"Get the metadata associated with an image. Also contains image utilities: filesize, scale, etc.","archived":false,"fork":false,"pushed_at":"2025-06-24T07:05:10.000Z","size":33,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T00:36:57.038Z","etag":null,"topics":["clojars","clojure","exif","metadata"],"latest_commit_sha":null,"homepage":"https://lewicz.art/the-haikou-diaries","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielsz.png","metadata":{"files":{"readme":"README.org","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,"zenodo":null}},"created_at":"2025-03-03T19:20:15.000Z","updated_at":"2025-06-30T08:33:00.000Z","dependencies_parsed_at":"2025-05-01T02:31:13.878Z","dependency_job_id":"f4d3faf3-17fd-4e49-9909-e2738ee7d259","html_url":"https://github.com/danielsz/beeld","commit_stats":null,"previous_names":["danielsz/beeld"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielsz/beeld","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsz%2Fbeeld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsz%2Fbeeld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsz%2Fbeeld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsz%2Fbeeld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielsz","download_url":"https://codeload.github.com/danielsz/beeld/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsz%2Fbeeld/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265564889,"owners_count":23788933,"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":["clojars","clojure","exif","metadata"],"created_at":"2025-03-11T02:59:45.851Z","updated_at":"2025-07-17T04:32:38.504Z","avatar_url":"https://github.com/danielsz.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"[[https://clojars.org/com.github.danielsz/beeld/latest-version.svg]]\n\n* Beeld\n\nThis library displays the metadata associated with images and does\nsome more.\n\n** Metadata\n\nImage formats embed standardized information about\nthemselves. Multiple information standards may coexist in the same\nimage, for example Exif, IPTC, ICC and XMP. The Exif standard specify\na special tag called /Makernote/ that allows camera manufactures to add\ntheir proprietary tags.\n\nOver the years, software solutions for retrieving and preserving\nmetadata have coalesced around a handful of flagship projects with\nPhil Harvey's [[Exiftool][Exiftool]] reigning supreme. For Java, the go-to solution\nis Drew Noakes's [[https://github.com/drewnoakes/metadata-extractor][metadata extractor]]. This library depends on the\nlatter.\n\nTwo namespaces are meant for public consumption, ~beeld.core~ and\n~beeld.metadata~.\n\n** beeld.metadata\n\nMost users will need only the ~tags~ function, which accepts a filename\nand returns a data structure reflecting the metadata associated with\nthe image. Since images may have large amounts metadata, the data\nstructure, a map of maps, is organized around standardized\ndirectories. Think about them as thematic groupings of\ninformation. Examples of such headings are ~Exif SubIFD~, ~File Type~,\n~GPS~, etc.\n\nThe argument to ~tags~ are the same arguments that ~input-stream~ accepts:\n/InputStream/, /File/, /URI/, /URL/, byte array, strings. A string argument\ngets first resolved as a /URI/, then as a local file name. This means\nthat you can ask about the metadata of images over the wire.\n\n#+begin_src clojure\n(require '[beeld.metadata :as meta])\n(meta/tags \"path/to/your/image.jpg\")\n;;or\n(meta/tags \"https://somewhere.com/your/image.jpg\")\n\n;; Returns a map of maps\n#+end_src\n\nThe namespace ~beeld.metadata~ offers several convenience functions that\nretrieve a particular metadata tag, for example ~mime-type~, ~lens~, ~make~,\n~orientation~, etc.\n\n** beeld.core\n\n~beeld.core~ defines an interface geared towards low-level image\nmanipulation. The namespace includes functions to convert images to\nbase64, streams or byte arrays, very much in the spirit of Java\nI/O. The ~scale~ function in /beeld.core/ will honor the orientation tag\nfound in the metada and resize the image accordingly. Something that\nJava's /ImageIO/ doesn't do.\n\n** Contributing\n\nAdditional convenience functions in the ~beeld.metadata~ namespace are\nwelcome. Anything else requires preliminary discussion and vetting.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielsz%2Fbeeld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielsz%2Fbeeld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielsz%2Fbeeld/lists"}