{"id":25949258,"url":"https://github.com/dgynfi/DYFBlurEffect","last_synced_at":"2025-03-04T12:01:33.755Z","repository":{"id":56908095,"uuid":"199884038","full_name":"itenfay/DYFBlurEffect","owner":"itenfay","description":"快速实现模糊图像，并支持系统 UIVisualEffectView。(Quickly realize blurred image, and support UIVisualEffectView in iOS.)","archived":false,"fork":false,"pushed_at":"2024-06-16T14:30:18.000Z","size":4692,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T05:03:06.606Z","etag":null,"topics":["blur","blur-image","blurred-image","blurred-images","blurring","blurring-libraries","blurry","cocoapods","ios","objective-c","uivisualeffectview"],"latest_commit_sha":null,"homepage":"https://www.jianshu.com/p/2402dd3101cd","language":"Objective-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/itenfay.png","metadata":{"files":{"readme":"README-en.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":"2019-07-31T15:36:18.000Z","updated_at":"2024-11-18T07:45:37.000Z","dependencies_parsed_at":"2025-01-16T10:36:19.352Z","dependency_job_id":"ebd366fa-6298-41cf-aa7e-d8269376a113","html_url":"https://github.com/itenfay/DYFBlurEffect","commit_stats":null,"previous_names":["dgynfi/dyfblureffect","itenfay/dyfblureffect","chenxing640/dyfblureffect"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itenfay%2FDYFBlurEffect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itenfay%2FDYFBlurEffect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itenfay%2FDYFBlurEffect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itenfay%2FDYFBlurEffect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itenfay","download_url":"https://codeload.github.com/itenfay/DYFBlurEffect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241844294,"owners_count":20029613,"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":["blur","blur-image","blurred-image","blurred-images","blurring","blurring-libraries","blurry","cocoapods","ios","objective-c","uivisualeffectview"],"created_at":"2025-03-04T12:01:25.019Z","updated_at":"2025-03-04T12:01:33.707Z","avatar_url":"https://github.com/itenfay.png","language":"Objective-C","funding_links":[],"categories":["UI Effects"],"sub_categories":[],"readme":"[中文版](README.md) | **English Version**\n\nIf this can help you, please give it a [star](https://github.com/itenfay/DYFBlurEffect), Thanks!\n\n## DYFBlurEffect\n\nWe can use `DYFBlurEffect` to quickly realize blurred image, and support `UIVisualEffectView` in iOS.\n\n[![License MIT](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](LICENSE)\u0026nbsp;\n[![CocoaPods](http://img.shields.io/cocoapods/v/DYFBlurEffect.svg?style=flat)](http://cocoapods.org/pods/DYFBlurEffect)\u0026nbsp;\n![CocoaPods](http://img.shields.io/cocoapods/p/DYFBlurEffect.svg?style=flat)\u0026nbsp;\n\n## Group (ID:614799921)\n\n\u003cdiv align=left\u003e \n\u0026emsp; \u003cimg src=\"https://github.com/itenfay/DYFBlurEffect/raw/master/images/g614799921.jpg\" width=\"30%\"\u003e\n\u003c/div\u003e\n\n## Installation\n\nUsing [CocoaPods](https://cocoapods.org):\n\n```\npod 'DYFBlurEffect'\n```\n\nOr\n\n```\npod 'DYFBlurEffect', '~\u003e 2.1.1'\n```\n\n## Preview\n\n\u003cdiv align=left\u003e\n\u0026emsp; \u003cimg src=\"https://github.com/itenfay/DYFBlurEffect/raw/master/images/BlurEffectPreview.gif\" width=\"40%\" /\u003e\n\u003c/div\u003e\n\n## Usage\n\n- Instantiation\n\n```\n// Lazy load\n- (DYFBlurEffect *)blurEffect {\n    if (!_blurEffect) {\n        _blurEffect = [[DYFBlurEffect alloc] init];\n    }\n    return _blurEffect;\n}\n```\n\n- Using CoreGraphics and vImage\n    \n```\n// Uses a `DYFBlurEffectStyle` style.\nself.imgView.image = [self.blurEffect blurryImage:image style:DYFBlurEffectLight];\n\n// Tints with a color.\nself.imgView.image = [self.blurEffect blurryImage:image tintColor:[UIColor colorWithRed:40/255.0 green:40/255.0 blue:40/255.0 alpha:1]];\n```\n\n```\n/**\nBlur out an image with an original image, a blur radius, tint with a color, a saturation delta factor and a mask image.\n*/\n- (UIImage *)blurryImage:(UIImage *)image blurRadius:(CGFloat)blurRadius tintColor:(UIColor *)tintColor saturationDeltaFactor:(CGFloat)saturationDeltaFactor maskImage:(UIImage *)maskImage;\n```\n\n- Using UIVisualEffectView (Available iOS 8.0 or later)\n\n```\nUIVisualEffectView *blurView = [self.blurEffect blurViewWithStyle:UIBlurEffectStyleLight];\nblurView.frame = self.imgView.bounds;\n//blurView.tag = 10;\n//blurView.userInteractionEnabled = YES;\n[self.view addSubview:blurView];\n```\n\n- Using CoreImage\n\n```\n self.imgView.image = [self.blurEffect coreImage:image blurRadius:10];\n```\n\n## Sample\n\nTo learn more, plaease go [here](https://github.com/itenfay/DYFBlurEffect/blob/master/Basic%20Files/ViewController.m).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgynfi%2FDYFBlurEffect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgynfi%2FDYFBlurEffect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgynfi%2FDYFBlurEffect/lists"}