{"id":18697426,"url":"https://github.com/cassiofb-dev/image-bat","last_synced_at":"2026-02-25T06:03:05.157Z","repository":{"id":104454718,"uuid":"355685548","full_name":"cassiofb-dev/image-bat","owner":"cassiofb-dev","description":"Convert lot of images to the new image file formats webp and jpeg with one click!","archived":false,"fork":false,"pushed_at":"2021-04-07T23:36:58.000Z","size":4617,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T17:44:09.776Z","etag":null,"topics":["avif","avif-encoder","compress-images","image","script","webp"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","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/cassiofb-dev.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":"2021-04-07T21:22:45.000Z","updated_at":"2021-12-09T19:39:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f8e8f57-ae96-448d-8808-8a172816fa0d","html_url":"https://github.com/cassiofb-dev/image-bat","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cassiofb-dev/image-bat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiofb-dev%2Fimage-bat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiofb-dev%2Fimage-bat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiofb-dev%2Fimage-bat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiofb-dev%2Fimage-bat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cassiofb-dev","download_url":"https://codeload.github.com/cassiofb-dev/image-bat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassiofb-dev%2Fimage-bat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29811866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"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":["avif","avif-encoder","compress-images","image","script","webp"],"created_at":"2024-11-07T11:24:17.798Z","updated_at":"2026-02-25T06:03:05.128Z","avatar_url":"https://github.com/cassiofb-dev.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Bat\n## Table of Contents\n- [Image Bat](#image-bat)\n  - [Table of Contents](#table-of-contents)\n  - [About](#about)\n  - [Future formats](#future-formats)\n  - [How to use](#how-to-use)\n  - [File Tree Overview](#file-tree-overview)\n    - [image-bat](#image-bat-1)\n    - [bin](#bin)\n    - [avifenc.exe](#avifencexe)\n    - [cwebp.exe](#cwebpexe)\n    - [input](#input)\n    - [output](#output)\n    - [.gitignore](#gitignore)\n    - [avif.bat](#avifbat)\n    - [webp.bat](#webpbat)\n  - [Programs](#programs)\n  - [How to update](#how-to-update)\n  - [Click here to download.](#click-here-to-download)\n\n## About\nSome people take a lot of photo and the size grows up to hundreds or thousands of gigabytes really fast. Because of this, there a lot of image file formats that you can use. All of them are optimal for some conditions.\n\nAs the development and optimizaion never stops there are 2 awesome image file formats that aren't that much used. This repository was made with the intention to spread and make them more accessible for the general public.\n\n## Future formats\nThe 2 file formats mentioned are [webp (developed by google)](https://developers.google.com/speed/webp) and [avif (developed by av1, netflix and microsoft)](https://rawcdn.githack.com/AOMediaCodec/av1-avif/67a92add6cd642a8863e386fa4db87954a6735d1/index.html).\n\nTalking about webp, this file format is not that new, it was realeased in 2010, and yet it's not popular. Actually as pointed by [this survey](https://w3techs.com/technologies/details/im-webp) even after more than 10 years after the realease webp is only used by less than 2% of the websites...\n\n---\n\n![chart1](https://w3techs.com/diagram/history_technology/im-webp)\n\n---\n\n![chart2](https://w3techs.com/diagram/market_technology/im-webp)\n\n---\n\nYou can think that there is not enough support for it but that's not the case as you can see in [this link](https://caniuse.com/webp).\n\nNow talking about avif, this format has less support than webp and there are huge drawback in its use (both the video and image encoder). Though they are superior to all file formats in compression by quality rate they have a huge computational cost for the process.\n\nBased on this shortcoming one can imagine that avif is much less popular than the less than 2% popular webp... And you are right. The same site did a survey for avif too, the results are less than 0.5% of use as you can see by the charts below.\n\n---\n\n![chart3](https://w3techs.com/diagram/history_technology/im-avif)\n\n---\n\n![chart4](https://w3techs.com/diagram/market_technology/im-avif)\n\n---\n\nSo their poor polularity is my main motivation on making these, this scripts will be easy to use, I hope you enjoy them.\n\n## How to use\n1. Put the images, png or jpg, you want to convert in the input folder\n2. Run avif.bat or webp.bat\n3. Done!\n\n## File Tree Overview\n```\n📦image-bat\n ┣ 📂bin\n ┃ ┣ 📜avifenc.exe\n ┃ ┣ 📜cwebp.exe\n ┃ ┗ 📜README.md\n ┣ 📂input\n ┃ ┗ 📜README.md\n ┣ 📂output\n ┃ ┗ 📜README.md\n ┣ 📜.gitignore\n ┣ 📜avif.bat\n ┣ 📜README.md\n ┗ 📜webp.bat\n```\n\n### image-bat\nRoot folder.\n### bin\nPrograms folder.\n### avifenc.exe\nAvif Encoder binary program.\n### cwebp.exe\nCwebp Encoder binary program.\n### input\nPut your images here.\n### output\nYour compressed images will go here.\n### .gitignore\nMake git ignore some files.\n### avif.bat\nAvif encoding script\n### webp.bat\nWebp encoding script\n\n## Programs\nThe programs are provided by this repositiory but you can build them yourself if you want.\n\n- [Check here for build webp.](https://developers.google.com/speed/webp/docs/compiling)\n- [Check here for build avif.](https://github.com/AOMediaCodec/libavif)\n\nYou can tune the parameters for you computer if you read both documentations, mine parameters are based on 6/12 cpu.\n\n## How to update\nAs mentioned in the last section you can build the binary by yourself but I will update this repository in the future.\n\nSo for keep it updated you can build the lastes by yourself or check if this repo was updated.\n\n## [Click here to download.](https://github.com/cassiofb-dev/image-bat/archive/refs/heads/master.zip)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcassiofb-dev%2Fimage-bat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcassiofb-dev%2Fimage-bat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcassiofb-dev%2Fimage-bat/lists"}