# NativeBlur **Repository Path**: github-android-mirror/NativeBlur ## Basic Information - **Project Name**: NativeBlur - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-27 - **Last Updated**: 2025-07-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![](https://jitpack.io/v/aabolfazl/Native-blur.svg)](https://jitpack.io/#aabolfazl/Native-blur) # Native-Blur The Native-Blur is a C++/Kotlin libraray for blur bitmaps and activity, mobile-ready, android compatible, powered by Java Native Interface(JNI) library for Android. ## Demo application .apk file [Download .apk file from here](https://github.com/aabolfazl/Native-Blur/raw/main/app-release_v1_0_0.apk) ## Features - Blur bitmap and resourses - Blure activty - Compress ## Usage For blur the Activty: ```kotlin val overlayBlurView = OverlayBlurView(activity) overlayBlurView.show() overlayBlurView.hide() ``` With Xml support view: ```xml ``` Directly Bitmap: ```kotlin val source = BitmapFactory.decodeResource(resources, R.drawable.spacex2) val bitmap = NativeBlur.blurBitmap(source, 10, false) imageview.setImageDrawable(BitmapDrawable(resources, bitmap)) ``` ## Installation Add it in your root build.gradle at the end of repositories: ```gradle allprojects { repositories { maven { url 'https://jitpack.io' } } } ``` Add the dependency ```gradle dependencies { implementation 'com.github.aabolfazl:Native-Blur:1.0.0' } ``` ## Images ## benchmark Memory allocation and Heap limit size for an application(in Java program throws an exception but in C++ done successfully) ## Developed by - Abolfazl Abbasi [@0x40x4](https://twitter.com/0x40x4) ## Reference - Stack Blur Algorithm by Mario Klingemann - Telegram open source project SpaceX Image from [@Daniel Sanchez Photography](https://twitter.com/Daniel_S_Images) ## License MIT **Free Software developed for [Teknasyon Üçbüyücü Turnuvası!](https://ucbuyucuturnuvasi.com)**