{"id":28298641,"url":"https://github.com/ubleipzig/image","last_synced_at":"2026-04-13T08:31:17.290Z","repository":{"id":57731016,"uuid":"130032716","full_name":"ubleipzig/image","owner":"ubleipzig","description":"A collection of utilities for image metadata processing","archived":false,"fork":false,"pushed_at":"2018-05-19T07:06:01.000Z","size":43753,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-14T04:36:43.843Z","etag":null,"topics":["exif","iiif","image-processing","jackson","java","json"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ubleipzig.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}},"created_at":"2018-04-18T08:49:01.000Z","updated_at":"2018-05-19T07:06:03.000Z","dependencies_parsed_at":"2022-09-26T22:01:43.215Z","dependency_job_id":null,"html_url":"https://github.com/ubleipzig/image","commit_stats":null,"previous_names":["ubleipzig/image-metadata"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ubleipzig/image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubleipzig%2Fimage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubleipzig%2Fimage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubleipzig%2Fimage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubleipzig%2Fimage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ubleipzig","download_url":"https://codeload.github.com/ubleipzig/image/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubleipzig%2Fimage/sbom","scorecard":{"id":906449,"data":{"date":"2025-08-11","repo":{"name":"github.com/ubleipzig/image","commit":"b7f082f4fcc4de62f49da1ec1601cfa7d8149618"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T17:32:12.296Z","repository_id":57731016,"created_at":"2025-08-24T17:32:12.296Z","updated_at":"2025-08-24T17:32:12.296Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","iiif","image-processing","jackson","java","json"],"created_at":"2025-05-23T06:14:25.829Z","updated_at":"2026-04-13T08:31:17.273Z","avatar_url":"https://github.com/ubleipzig.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Image \nA collection of image processing utilities\n\n### Image Metadata\nA utility that generates JSON objects that contain image metadata.\n\n[![Build Status](https://travis-ci.org/ubleipzig/image.png?branch=master)](https://travis-ci.org/ubleipzig/image)\n[![codecov](https://codecov.io/gh/ubleipzig/image/branch/master/graph/badge.svg)](https://codecov.io/gh/ubleipzig/image)\n[![Javadoc](https://javadoc-badge.appspot.com/de.ubleipzig/image.metadata.svg?label=javadoc)](https://ubleipzig.github.io/image/apidocs/)\n[![Maven Central](https://img.shields.io/maven-central/v/de.ubleipzig/image.metadata.svg)](https://mvnrepository.com/artifact/de.ubleipzig/image.metadata/0.1.0)\n\n\n#### Install\n`./gradlew clean distTar`\n\n* extract `image.metadata-0.2.0-SNAPSHOT.tar`\n\n## Sequenced Image Filename Specification\nThis tool assumes that all images will have integer filenames in accordance with their sequence in the image collection.\n\n## JPEG2000 Conversion\nThis tool recognizes files with the extensions \".jpx\" or \".jp2\" and will read their dimensions.\nThis requires the host to have the ImageMagick `identify` utility compiled with JP2 support available in the PATH.  \nTo install this utility, check the [releases](https://github.com/uclouvain/openjpeg/releases)\n\n## Usage\n```bash\nimage.metadata -i image_source_directory -o dimension_manifest [-z] metadata_manifest\n```\n\n| Argument  | Description | Example     |\n| --------  | ----------- | ----------- | \n| image_source_directory_path | the file path to the image sources | /images |\n| dimension_manifest | a file path to the manifest outputfile | /output.json |\n| metadata_manifest (optional) | a file path to the metadata manifest outputfile | /manifest.json | \n\n\n#### Use in Java:\n\n```groovy\n compile group: 'de.ubleipzig', name: 'image.metadata', version: '0.1.0'\n```\n\n\n* Generate an image dimension manifest with :\n\n```java\n/**\n* @param String imageSourceDir\n*/\n```\n\n```java\n    ImageMetadataServiceConfig config = new ImageMetadataServiceConfig();\n    config.setImageSourceDir(imageSourceDir);\n    final ImageMetadataService generator = new ImageMetadataServiceImpl(config);\n    final ImageDimensionManifest dimManifest = generator.build();\n```\n\nThe dimension manifest when serialized looks like this:\n```json\n{\n  \"collection\" : \"/some-image-collection\",\n  \"images\" : [\n    {\n      \"filename\" : \"00000001.jpg\",\n      \"digest\" : \"jeUrOCoqaYw/89LmIo3gQlxhipE=\",\n      \"height\" : 2130,\n      \"width\" : 1705\n    },\n    {\n      \"filename\" : \"00000002.jpg\",\n      \"digest\" : \"5t/uKe+X1vTe0fR2YAGYj4OzgiI=\",\n      \"height\" : 2130,\n      \"width\" : 1705\n    },\n    {\n      \"filename\" : \"00000003.jpg\",\n      \"digest\" : \"8caG/XPRwwAZSU3Pldcsl7ZEtoA=\",\n      \"height\" : 2130,\n      \"width\" : 1705\n    }\n  ]\n}\n``` \n\nThe `ImageDimensionManifest` is a `List\u003cImageDimensions\u003e` where each `ImageDimension` has setter and getters available \nfor subsequent processing.\n\nAlso available is the complete list of `ImageMetadataTag`.  This `ImageMetadataManifest` can be built like this:\n\n```java\n    ImageMetadataServiceConfig config = new ImageMetadataServiceConfig();\n    config.setImageSourceDir(imageSourceDir);\n    final ImageMetadataService generator = new ImageMetadataServiceImpl(config);\n    final ImageDimensionManifest dimManifest = generator.buildImageMetadataManifest();\n```\n\nAn typical JPEG image produces this:\n\n```json\n    {\n      \"filename\" : \"00000001.jpg\",\n      \"digest\" : \"jeUrOCoqaYw/89LmIo3gQlxhipE=\",\n      \"directories\" : [\n        {\n          \"directory\" : \"JPEG\",\n          \"tags\" : [\n            {\n              \"tagName\" : \"Compression Type\",\n              \"tagDescription\" : \"Baseline\"\n            },\n            {\n              \"tagName\" : \"Data Precision\",\n              \"tagDescription\" : \"8 bits\"\n            },\n            {\n              \"tagName\" : \"Image Height\",\n              \"tagDescription\" : \"2130 pixels\"\n            },\n            {\n              \"tagName\" : \"Image Width\",\n              \"tagDescription\" : \"1705 pixels\"\n            },\n            {\n              \"tagName\" : \"Number of Components\",\n              \"tagDescription\" : \"3\"\n            },\n            {\n              \"tagName\" : \"Component 1\",\n              \"tagDescription\" : \"Y component: Quantization table 0, Sampling factors 2 horiz/2 vert\"\n            },\n            {\n              \"tagName\" : \"Component 2\",\n              \"tagDescription\" : \"Cb component: Quantization table 1, Sampling factors 1 horiz/1 vert\"\n            },\n            {\n              \"tagName\" : \"Component 3\",\n              \"tagDescription\" : \"Cr component: Quantization table 1, Sampling factors 1 horiz/1 vert\"\n            }\n          ]\n        },\n        {\n          \"directory\" : \"JpegComment\",\n          \"tags\" : [\n            {\n              \"tagName\" : \"JPEG Comment\",\n              \"tagDescription\" : \"Generated by IIPImage\"\n            }\n          ]\n        },\n        {\n          \"directory\" : \"JFIF\",\n          \"tags\" : [\n            {\n              \"tagName\" : \"Version\",\n              \"tagDescription\" : \"1.1\"\n            },\n            {\n              \"tagName\" : \"Resolution Units\",\n              \"tagDescription\" : \"none\"\n            },\n            {\n              \"tagName\" : \"X Resolution\",\n              \"tagDescription\" : \"1 dot\"\n            },\n            {\n              \"tagName\" : \"Y Resolution\",\n              \"tagDescription\" : \"1 dot\"\n            },\n            {\n              \"tagName\" : \"Thumbnail Width Pixels\",\n              \"tagDescription\" : \"0\"\n            },\n            {\n              \"tagName\" : \"Thumbnail Height Pixels\",\n              \"tagDescription\" : \"0\"\n            }\n          ]\n        },\n        {\n          \"directory\" : \"Huffman\",\n          \"tags\" : [\n            {\n              \"tagName\" : \"Number of Tables\",\n              \"tagDescription\" : \"4 Huffman tables\"\n            }\n          ]\n        },\n        {\n          \"directory\" : \"File Type\",\n          \"tags\" : [\n            {\n              \"tagName\" : \"Detected File Type Name\",\n              \"tagDescription\" : \"JPEG\"\n            },\n            {\n              \"tagName\" : \"Detected File Type Long Name\",\n              \"tagDescription\" : \"Joint Photographic Experts Group\"\n            },\n            {\n              \"tagName\" : \"Detected MIME Type\",\n              \"tagDescription\" : \"image/jpeg\"\n            },\n            {\n              \"tagName\" : \"Expected File Name Extension\",\n              \"tagDescription\" : \"jpg\"\n            }\n          ]\n        }\n      ]\n    }\n```    \n    \n## Credits\nThis library depends on the [com.drewnoakes:metadata-extractor](https://github.com/drewnoakes/metadata-extractor)    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubleipzig%2Fimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubleipzig%2Fimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubleipzig%2Fimage/lists"}