{"id":20276494,"url":"https://github.com/designengineered/png-to-webp","last_synced_at":"2025-09-20T23:05:08.750Z","repository":{"id":218960478,"uuid":"747736891","full_name":"designengineered/png-to-webp","owner":"designengineered","description":"This is a Python script that converts PNG images to WebP format in bulk. The user selects a directory, and the script converts all PNG images in that directory.","archived":false,"fork":false,"pushed_at":"2024-01-24T18:36:00.000Z","size":8642,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T11:05:54.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/designengineered.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}},"created_at":"2024-01-24T14:43:10.000Z","updated_at":"2024-01-25T00:01:59.000Z","dependencies_parsed_at":"2024-01-24T18:56:53.078Z","dependency_job_id":null,"html_url":"https://github.com/designengineered/png-to-webp","commit_stats":null,"previous_names":["laztaxon/png-to-webp","designengineered/png-to-webp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/designengineered/png-to-webp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/designengineered%2Fpng-to-webp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/designengineered%2Fpng-to-webp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/designengineered%2Fpng-to-webp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/designengineered%2Fpng-to-webp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/designengineered","download_url":"https://codeload.github.com/designengineered/png-to-webp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/designengineered%2Fpng-to-webp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276169664,"owners_count":25596956,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-14T13:14:08.043Z","updated_at":"2025-09-20T23:05:08.731Z","avatar_url":"https://github.com/designengineered.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PNG to WebP Converter\n\nThis is a Python script that converts PNG images to WebP format in bulk. The user selects a directory, and the script converts all PNG images in that directory. The converted images are saved in a `converted` subdirectory within the selected directory. After the conversion process, the `converted` subdirectory is automatically opened in the default file explorer.\n\n## Prerequisites\n\n- Python 3.x\n- Pillow library\n\n## Installation\n\nFor all these code snippets use your terminal of choice. You can honestly copy and paste in the presented order and it should work.\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/laztaxon/png-to-webp.git\n    ```\n\n2. Install Python:\n   - For Windows and macOS, download and install Python from the official website: https://www.python.org/downloads/\n   - For macOS, you can also use Homebrew: `brew install python` or \n   - For Linux, use your package manager, e.g., `sudo apt install python3`\n\n3. Set up the virtual environment:\n   - For Windows, use: `python -m venv venv`\n   - For Unix or MacOS, use: `python3 -m venv venv`\n\n4. Activate the virtual environment:\n   - For Windows, use: `venv\\Scripts\\activate`\n   - For Unix or MacOS, use: `source venv/bin/activate`\n\n5. Install the required dependencies from the `requirements.txt` file:\n   ```bash\n   pip install -r requirements.txt\n\n6. Running the script\nAfter installing the dependencies, you can run the main.py script:\n   ```python\n   python main.py\n\n7. Deactivating the Virtual Environment\n\n   After you're done running the script, you can deactivate the virtual environment:\n\n   ```bash\n   deactivate\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesignengineered%2Fpng-to-webp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesignengineered%2Fpng-to-webp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesignengineered%2Fpng-to-webp/lists"}