{"id":16643617,"url":"https://github.com/deishelon/picassoblurtransformation","last_synced_at":"2026-04-29T02:42:10.207Z","repository":{"id":97016889,"uuid":"135544200","full_name":"Deishelon/PicassoBlurTransformation","owner":"Deishelon","description":"A fast way to blur an image for Picasso","archived":false,"fork":false,"pushed_at":"2018-05-31T07:03:18.000Z","size":199,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T10:44:22.592Z","etag":null,"topics":["android","blur","blurview","picasso","transformation","transformations"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/Deishelon.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-31T06:52:14.000Z","updated_at":"2018-05-31T07:03:18.000Z","dependencies_parsed_at":"2023-04-13T05:48:56.921Z","dependency_job_id":null,"html_url":"https://github.com/Deishelon/PicassoBlurTransformation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Deishelon/PicassoBlurTransformation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deishelon%2FPicassoBlurTransformation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deishelon%2FPicassoBlurTransformation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deishelon%2FPicassoBlurTransformation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deishelon%2FPicassoBlurTransformation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deishelon","download_url":"https://codeload.github.com/Deishelon/PicassoBlurTransformation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deishelon%2FPicassoBlurTransformation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32408446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T02:37:21.628Z","status":"ssl_error","status_checked_at":"2026-04-29T02:36:50.947Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["android","blur","blurview","picasso","transformation","transformations"],"created_at":"2024-10-12T08:09:09.673Z","updated_at":"2026-04-29T02:42:05.200Z","avatar_url":"https://github.com/Deishelon.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blur for Picasso (Android)\n\n- Simple Transformation class to blur an image for Picasso\n- Blur time: 1-3 ms*\n\n## Usage\n\n#### Step 1 (Add BlurTransform class to your project)\n\n#### Step 2 (Add to Picasso)\n\n```\nPicasso.get().load(YOUR_URL).transform(BlurTransform(scale = 0.1f,radius = 1)).into(YOUR_IMAGE_VIEW)\n```\n\n## Docs \u0026 Performace \u0026 Sample Screenshots\n#### Docs\nBlurTransform takes 2 parameters\n- scale\n- radius\n\n###### Scale - scales your bitmap using this formula\n```\nval width = Math.round(sentBitmap.width * scale)\nval height = Math.round(sentBitmap.height * scale)\n```\nIt is recommened not to pass a number higher then 1 (your origial bitmap size), as it will requere extra time to prosses \u0026 huge memory allocations\n\nAdditional notes:\nYou can't pass 0, as this will thow an exeption.\n\n###### Radius - radius to blur out pixels\n\nHigher the number - more blur\nVery high numbers will increase prossesing time\nIt is recomened to keep your number between 1 and 50\nYou can not pass 0, as this will thow an exeption.\n\n#### Screenhots\n\n| Scale  | Radius  |  Output |\n| ------------ | ------------ | ------------ |\n| 0.1  | 1  | Add image  |\n| 0.1  |  10 | Add image   |\n| 0.5  |  5 | Add image   |\n\n#### Performace\n*Time is milliseconds\n*Big bitmaps were used for performnce test (width = 5000px, height = 3000px)\n\n##### Normal usage (down-scale bitmap) Recommended\n|   |   |   |   |   |  |\n| ------------ | ------------ | ------------ | ------------ | ------------ | ------------ |\n| Scale  | 0.1  | 0.1  | 0.1  |  0.1 | 0.1  |\n|  Radius | 1  | 10  | 20  | 50  | 100   |\n| Time  | 3  | 6  | 15  |  16 |   35|\n\nIt is recommened to use scale between 0.1 and 1\n\n**The Best Performace Between 0.1 And 0.5**\n\n\n###### No scale, x1\n\n|   |   |   |   |   |  |\n| ------------ | ------------ | ------------ | ------------ | ------------ | ------------ |\n| Scale  | 1  | 1  | 1  |  1 | 1  |\n|  Radius | 1  | 10  | 20  | 50  | 100   |\n| Time  | 48  | 52  | 57  |  82 |   117|\n\n###### Crazy usage, bitmap scaled x5 (not recommened), just for comparisin\n\n|   |   |   |   |   |  |\n| ------------ | ------------ | ------------ | ------------ | ------------ | ------------ |\n| Scale  | 5  | 5  | 5  |  5 | 5  |\n|  Radius | 1  | 10  | 20  | 50  | 100   |\n| Time  | 766  | 886  | 1054  |  1443 |   1581|\n\nTest device: Huawei P9\nAndroid OS: 7.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeishelon%2Fpicassoblurtransformation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeishelon%2Fpicassoblurtransformation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeishelon%2Fpicassoblurtransformation/lists"}