{"id":17584658,"url":"https://github.com/thieryw/dir-image-converter","last_synced_at":"2025-07-01T11:09:17.066Z","repository":{"id":195204171,"uuid":"692557681","full_name":"thieryw/dir-image-converter","owner":"thieryw","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-17T14:24:47.000Z","size":10747,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T14:41:41.152Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/thieryw.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-09-16T21:11:21.000Z","updated_at":"2023-09-16T21:11:27.000Z","dependencies_parsed_at":"2023-09-17T01:07:58.836Z","dependency_job_id":"81db7660-42eb-426b-9dee-da0065641325","html_url":"https://github.com/thieryw/dir-image-converter","commit_stats":null,"previous_names":["thieryw/dir-image-converter"],"tags_count":16,"template":false,"template_full_name":"garronej/ts-ci","purl":"pkg:github/thieryw/dir-image-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thieryw%2Fdir-image-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thieryw%2Fdir-image-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thieryw%2Fdir-image-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thieryw%2Fdir-image-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thieryw","download_url":"https://codeload.github.com/thieryw/dir-image-converter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thieryw%2Fdir-image-converter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262950389,"owners_count":23389645,"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-22T02:07:41.106Z","updated_at":"2025-07-01T11:09:17.047Z","avatar_url":"https://github.com/thieryw.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dir-image-converter\n\n**dir-image-converter** is a utility that allows users to resize and convert images within a directory structure. The module provides two primary commands for this purpose: `convert-images` and `resize-images`.\n\n## Installation\n\n```bash\nnpm install dir-image-converter -g\n```\n\n## Features\n\n### 1. Convert Images\n\nCommand: `convert-images`\n\nThis command will convert images from the specified directory to the desired format. Supported formats include: `png`, `jpeg`, `webp`, `avif`, `heif`, `tiff`, `jp2`, and `jxl`.\n\nUsage:\n\n```bash\nconvert-images -a [Path to the assets] -o [Path to save the converted images] -f [Format to convert to]\n```\n\nOptions:\n\n-   `-a, --assets`: Path to the assets (Required).\n-   `-o, --output`: Path to save the converted images (Required).\n-   `-f, --format`: Format to convert to (Required).\n-   `-ov, --override`: Override existing output folder (Optional).\n\n### 2. Resize Images\n\nCommand: `resize-images`\n\nThis command will resize images from the specified directory to the provided sizes.\n\nUsage:\n\n```bash\nresize-images -a [Path to the assets] -o [Path to save the resized images] -s [Sizes and size aliases, e.g., 2500,large]\n```\n\nOptions:\n\n-   `-a, --assets`: Path to the assets (Required).\n-   `-o, --output`: Path to save the resized images (Required).\n-   `-s, --sizes`: Sizes and size aliases, e.g., `2500,large` (Required).\n-   `-ov, --override`: Override existing output folder (Optional).\n\n## Repository\n\nFor more details and to access the source code, visit the [GitHub Repository](https://github.com/thieryw/dir-image-converter).\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthieryw%2Fdir-image-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthieryw%2Fdir-image-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthieryw%2Fdir-image-converter/lists"}