{"id":23521243,"url":"https://github.com/leplusorg/docker-img","last_synced_at":"2025-06-15T04:37:01.518Z","repository":{"id":39860043,"uuid":"225703982","full_name":"leplusorg/docker-img","owner":"leplusorg","description":"Docker container to manipulate images (imagemagick, exiftool...).","archived":false,"fork":false,"pushed_at":"2024-10-29T12:15:36.000Z","size":326,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T14:43:48.463Z","etag":null,"topics":["docker","docker-container","docker-image","dockerfile","exif","exif-data","exif-data-extraction","exif-deletion","exif-metadata","exif-orientation","exif-reader","exif-remover","exiftool","image-converter","image-manipulation","image-processing","imagemagick","jpeg","jpg","png"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/leplusorg/img","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leplusorg.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-03T19:57:08.000Z","updated_at":"2024-10-29T12:15:33.000Z","dependencies_parsed_at":"2023-12-08T19:27:21.841Z","dependency_job_id":"42639ecc-1417-439a-8b9c-bfdb27378c65","html_url":"https://github.com/leplusorg/docker-img","commit_stats":{"total_commits":75,"total_committers":4,"mean_commits":18.75,"dds":0.2666666666666667,"last_synced_commit":"ec5009d9067b966b0374da3fcd5ef6059d663405"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-img","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-img/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-img/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leplusorg%2Fdocker-img/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leplusorg","download_url":"https://codeload.github.com/leplusorg/docker-img/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231191930,"owners_count":18341685,"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":["docker","docker-container","docker-image","dockerfile","exif","exif-data","exif-data-extraction","exif-deletion","exif-metadata","exif-orientation","exif-reader","exif-remover","exiftool","image-converter","image-manipulation","image-processing","imagemagick","jpeg","jpg","png"],"created_at":"2024-12-25T17:11:29.056Z","updated_at":"2025-06-15T04:37:01.504Z","avatar_url":"https://github.com/leplusorg.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Images\n\nMulti-platform Docker container with utilities to process images (imagemagick, exiftool, optipng...).\n\n[![Dockerfile](https://img.shields.io/badge/GitHub-Dockerfile-blue)](img/Dockerfile)\n[![Docker Build](https://github.com/leplusorg/docker-img/workflows/Docker/badge.svg)](https://github.com/leplusorg/docker-img/actions?query=workflow:\"Docker\")\n[![Docker Stars](https://img.shields.io/docker/stars/leplusorg/img)](https://hub.docker.com/r/leplusorg/img)\n[![Docker Pulls](https://img.shields.io/docker/pulls/leplusorg/img)](https://hub.docker.com/r/leplusorg/img)\n[![Docker Version](https://img.shields.io/docker/v/leplusorg/img?sort=semver)](https://hub.docker.com/r/leplusorg/img)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/10073/badge)](https://bestpractices.coreinfrastructure.org/projects/10073)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/leplusorg/docker-img/badge)](https://securityscorecards.dev/viewer/?uri=github.com/leplusorg/docker-img)\n\n## Example without using the filesystem\n\nLet's say that you have an image `foo.jpg` in your current working directory that you want to extract its metadata:\n\n**Mac/Linux**\n\n```bash\ncat foo.jpg | docker run --rm -i --net=none leplusorg/img magick identify -\n```\n\n**Windows**\n\n```batch\ntype foo.jpg | docker run --rm -i --net=none leplusorg/img magick identify -\n```\n\n## Example using the filesystem\n\nSame thing, assuming that you have an image `foo.jpg` in your current working directory that you want to extract its metadata:\n\n**Mac/Linux**\n\n```bash\ndocker run --rm -t --user=\"$(id -u):$(id -g)\" --net=none -v \"$(pwd):/tmp\" leplusorg/img magick identify /tmp/foo.jpg\n```\n\n**Windows**\n\nIn `cmd`:\n\n```batch\ndocker run --rm -t --net=none -v \"%cd%:/tmp\" leplusorg/img magick identify /tmp/foo.jpg\n```\n\nIn PowerShell:\n\n```pwsh\ndocker run --rm -t --net=none -v \"${PWD}:/tmp\" leplusorg/img magick identify /tmp/foo.jpg\n```\n\n## Help\n\nTo know more command-line options of one of the imagemagick command:\n\n```bash\ndocker run --rm --net=none leplusorg/img magick -help\n```\n\n## Software Bill of Materials (SBOM)\n\nTo get the SBOM for the latest image (in SPDX JSON format), use the\nfollowing command:\n\n```bash\ndocker buildx imagetools inspect leplusorg/img --format '{{ json (index .SBOM \"linux/amd64\").SPDX }}'\n```\n\nReplace `linux/amd64` by the desired platform (`linux/amd64`, `linux/arm64` etc.).\n\n### Sigstore\n\n[Sigstore](https://docs.sigstore.dev) is trying to improve supply\nchain security by allowing you to verify the origin of an\nartifcat. You can verify that the jar that you use was actually\nproduced by this repository. This means that if you verify the\nsignature of the ristretto jar, you can trust the integrity of the\nwhole supply chain from code source, to CI/CD build, to distribution\non Maven Central or whever you got the jar from.\n\nYou can use the following command to verify the latest image using its\nsigstore signature attestation:\n\n```bash\ncosign verify leplusorg/img --certificate-identity-regexp 'https://github\\.com/leplusorg/docker-img/\\.github/workflows/.+' --certificate-oidc-issuer 'https://token.actions.githubusercontent.com'\n```\n\nThe output should look something like this:\n\n```text\nVerification for index.docker.io/leplusorg/xml:main --\nThe following checks were performed on each of these signatures:\n  - The cosign claims were validated\n  - Existence of the claims in the transparency log was verified offline\n  - The code-signing certificate was verified using trusted certificate authority certificates\n\n[{\"critical\":...\n```\n\nFor instructions on how to install `cosign`, please read this [documentation](https://docs.sigstore.dev/cosign/system_config/installation/).\n\n## Request new tool\n\nPlease use [this link](https://github.com/leplusorg/docker-img/issues/new?assignees=thomasleplus\u0026labels=enhancement\u0026template=feature_request.md\u0026title=%5BFEAT%5D) (GitHub account required) to request that a new tool be added to the image. I am always interested in adding new capabilities to these images.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleplusorg%2Fdocker-img","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleplusorg%2Fdocker-img","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleplusorg%2Fdocker-img/lists"}