{"id":23387110,"url":"https://github.com/thehamdiz/webp_converter","last_synced_at":"2025-04-08T12:33:45.374Z","repository":{"id":218506342,"uuid":"746572934","full_name":"theHamdiz/webp_converter","owner":"theHamdiz","description":"A concurrent multithreaded pure rust bulk \u0026 single image cli converter. to convert any image type to webp format with compression capabilities, configurations are dynamic; Defaults are based on my work experience as an eCommerce Manager.","archived":false,"fork":false,"pushed_at":"2024-01-22T16:57:13.000Z","size":741,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T08:37:26.452Z","etag":null,"topics":["compression","compression-algorithm","conversion","ecommerce","image","image-compression","image-conversion","image-converter","image-manipulation","image-processing","webp"],"latest_commit_sha":null,"homepage":"https://hamdiz.me","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theHamdiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-22T09:27:51.000Z","updated_at":"2024-03-12T06:32:25.000Z","dependencies_parsed_at":"2024-01-22T12:47:06.516Z","dependency_job_id":"c4b49506-8bf0-4a2d-8092-9eb4e1ef662d","html_url":"https://github.com/theHamdiz/webp_converter","commit_stats":null,"previous_names":["thehamdiz/webp_converter"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theHamdiz%2Fwebp_converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theHamdiz%2Fwebp_converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theHamdiz%2Fwebp_converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theHamdiz%2Fwebp_converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theHamdiz","download_url":"https://codeload.github.com/theHamdiz/webp_converter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247843200,"owners_count":21005420,"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":["compression","compression-algorithm","conversion","ecommerce","image","image-compression","image-conversion","image-converter","image-manipulation","image-processing","webp"],"created_at":"2024-12-22T01:14:37.832Z","updated_at":"2025-04-08T12:33:45.348Z","avatar_url":"https://github.com/theHamdiz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Rust WebP Image Converter\nA high-performance, concurrent, multithreaded image converter written entirely in Rust. This tool allows for the bulk or single conversion of images to the compressed WebP format via a command-line interface (CLI). It's designed with static configurations derived from extensive experience in eCommerce image management, specifically tailored to the needs encountered during my tenure as an eCommerce Manager at Adam Medical Company.\n\n![WebConverterLogo.png](src/assets/WebConverterLogo.png)\n### Author\n#### Ahmad Hamdi Emara\n\n### Features\nConcurrent \u0026 Multithreaded: Leverages Rust's powerful concurrency model for efficient image processing.\nBulk \u0026 Single Image Conversion: Supports processing an entire folder of images or a single image file.\nCompressed WebP Format: Converts images to the WebP format, optimizing for high compression with minimal quality loss.\nStatic Configurations: Utilizes pre-defined settings optimized through professional experience in eCommerce image optimization.\nCLI Interface: Easy-to-use command-line interface for straightforward operation.\nInstallation\n(Include steps for installing Rust, if necessary, and building or installing your project.)\n\n\u003e Ensure you have Rust installed on your system. You can download it from https://rustup.rs/.\n\n### Clone the repository to your local machine:\n\n```sh\ngit clone https://github.com/theHamdiz/webp_converter.git\n```\n\n### Navigate to the cloned repository directory:\n\n```sh\ncd webp_converter\n```\n\n### Build the project using Cargo:\n\n```sh\ncargo build --release\n```\n\n\u003eThe executable can be found in ./target/release/.\n\n### Usage\nTo use the Rust WebP Image Converter, you can utilize the following command-line arguments:\n\n`-p`:\u003cPATH\u003e *Path to an image file or folder containing images to convert.*   \n`-l`:\u003cLOSSLESS\u003e *A boolean toggle (true/false) to indicate whether file compression should be lossless or lossy.*  \n\u003e Defaults to true.  \n\u003e \n`-q`:\u003cQUALITY\u003e *A number between 0 and 100 to indicate the quality of the compressed image.*  \n\u003e Defaults to 75.\n\n`-c`:\u003cCOMPRESSIONFACTOR\u003e *A number between 0 and 6 to indicate the compression factor of the compressed image.*  \n\u003e Defaults to 2.\n\n`-s`:\u003cRESIZE\u003e *A boolean to indicate whether the image should be resized to (700x700)px or the nearest equivalent.* \n\u003e Defaults to false.  \n\n`-n`:\u003cNOISERATIO\u003e *Noise Ratio or PSNR Determines Noise to Signal Ratio.*  \n\u003e Defaults to 40.  \n\n`-V`:\u003cVERSION\u003e *Display the program version.*  \n`-h`:\u003cHELP\u003e *Display the help menu with usage information.*  \n`-r`:\u003cRECURSIVE\u003e *A boolean to indicate whether the program should recursively work on internal folders.*  \n\n\u003eNote: this feature is not yet implemented\n\n### Examples\n\nConvert a single image with 3X compression:\n\n```sh\n  ./webp_converter -p /path/to/image.png -c 3 -s true\n```\n\nOn `windows` that would be:\n\n```sh\n  .\\webp_converter.exe -p \"path\\to\\image\" -c 3 -s true\n```\nConvert all images in a folder without compression:\n\n```sh\n./webp_converter -p /path/to/folder -c 0 -q 100\n```\n\nDisplay the version of the program:\n\n```sh\n./webp_converter -V\n```\n\n### Contributing\n\u003eFeel free to contribute to this command line tool by submitting pull requests.\n\n### License\n\u003eMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehamdiz%2Fwebp_converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthehamdiz%2Fwebp_converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehamdiz%2Fwebp_converter/lists"}