{"id":16271070,"url":"https://github.com/b4rtaz/android-webp-encoder","last_synced_at":"2025-10-04T06:30:25.502Z","repository":{"id":41053431,"uuid":"128229749","full_name":"b4rtaz/android-webp-encoder","owner":"b4rtaz","description":"WebP encoder for Android with animation support.","archived":false,"fork":false,"pushed_at":"2023-01-05T12:47:26.000Z","size":631,"stargazers_count":38,"open_issues_count":2,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-12T21:33:30.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/b4rtaz.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}},"created_at":"2018-04-05T15:57:02.000Z","updated_at":"2025-01-11T15:10:32.000Z","dependencies_parsed_at":"2023-02-04T06:00:30.979Z","dependency_job_id":null,"html_url":"https://github.com/b4rtaz/android-webp-encoder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4rtaz%2Fandroid-webp-encoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4rtaz%2Fandroid-webp-encoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4rtaz%2Fandroid-webp-encoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4rtaz%2Fandroid-webp-encoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b4rtaz","download_url":"https://codeload.github.com/b4rtaz/android-webp-encoder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235222522,"owners_count":18955328,"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-10T18:12:21.122Z","updated_at":"2025-10-04T06:30:20.190Z","avatar_url":"https://github.com/b4rtaz.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sneaky WebP encoder for Android with animation support.\n\nProject doesn't contain VP8 codec because Android from version 4.x supports WebP encoding (but without animation). So, how it works? Project contains WebP muxer, but compression is still job of Android:\n\n     Bitmap.compress(Bitmap.CompressFormat.WEBP, ...\n\n## How create animated WebP image?\n\n    Bitmap frame1 = ...\n    Bitmap frame2 = ...\n    WebpBitmapEncoder encoder = new WebpBitmapEncoder(\"out.webp\");  \n    \n    encoder.setLoops(0); // 0 = infinity.  \n    encoder.setDuration(90);  \n    encoder.writeFrame(frame1, 80);  \n    encoder.setDuration(90);\n    encoder.writeFrame(frame2, 80);\n    encoder.close();\n\nCheck [this example](app/src/main/java/com/n4no/webpencoder/app/MainActivity.java).\n\n## TODO\n\n- alpha channel.\n\n## License\n\nWebpEncoder is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb4rtaz%2Fandroid-webp-encoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb4rtaz%2Fandroid-webp-encoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb4rtaz%2Fandroid-webp-encoder/lists"}