{"id":19041060,"url":"https://github.com/everythingme/webp-android","last_synced_at":"2025-04-13T06:41:47.629Z","repository":{"id":33567449,"uuid":"37213756","full_name":"EverythingMe/webp-android","owner":"EverythingMe","description":"webp support for Android API Level 4 and up, includes the native library and a WebPImageView to render webp in your app ","archived":false,"fork":false,"pushed_at":"2017-04-18T05:00:56.000Z","size":528,"stargazers_count":266,"open_issues_count":4,"forks_count":55,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-24T11:46:02.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EverythingMe.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}},"created_at":"2015-06-10T18:05:54.000Z","updated_at":"2024-01-07T11:58:50.000Z","dependencies_parsed_at":"2022-08-30T23:40:19.456Z","dependency_job_id":null,"html_url":"https://github.com/EverythingMe/webp-android","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/EverythingMe%2Fwebp-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EverythingMe%2Fwebp-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EverythingMe%2Fwebp-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EverythingMe%2Fwebp-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EverythingMe","download_url":"https://codeload.github.com/EverythingMe/webp-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675434,"owners_count":21143763,"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-11-08T22:26:53.294Z","updated_at":"2025-04-13T06:41:47.605Z","avatar_url":"https://github.com/EverythingMe.png","language":"C","readme":"# webp\n## webp for all! (Android devices)\n\nwebp is a library we use at EverythingMe Launcher since we love webp. We use it to save bandwidth as well as shrinking our APK sizes.\n\nwebp is an adaptation of chromium's webp decoder, and an addition of a JNI wrapper to easily use it it in your java code.\n\n## compile\njust `gradle clean build`, and add the output aar to your libs (a public aar will be available soon)\n\n## How to use it?\n\n```java\nimport me.everything.webp.WebPDecoder\n\nBitmap bitmap = WebPDecoder.getInstance().decodeWebP(bytes);\n```\n\n## WebpImageView\nWe also made it easy to load webp images from xml to an ImageView\n\n```xml\n\u003cme.everything.webp.WebPImageView\n  android:layout_width=\"wrap_content\"\n  android:layout_height=\"wrap_content\"\n  webp:webp_src=\"@drawable/your_webp_image\" /\u003e\n``` \n\nNative webp support with lossless and transparency is officially supported in Android 4.2.1 and up. Prior to that transparency was not supported.\nSince both 4.2 and 4.2.x have the same API level (17), we apply webp's decoding for all API levels lower than 18. For API level 18 and up we apply the standard `BitmapFactory.decodeByteArray()`.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverythingme%2Fwebp-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feverythingme%2Fwebp-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverythingme%2Fwebp-android/lists"}