# glide-transformations **Repository Path**: qs_os/glide-transformations ## Basic Information - **Project Name**: glide-transformations - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 5 - **Created**: 2021-04-18 - **Last Updated**: 2021-04-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Glide Transformations ====================== An openharmony transformation library providing a variety of image transformations for Glide. # How do I use it? Installation tutorial Add dependency in build.gradle file, and include the library jar/har in libs: dependencies { implementation project(path: ':transformations') } Add the library module in the project and add it as a library module dependency in build.gradle: dependencies { compile files('libs/glide.jar') implementation fileTree(dir: 'libs', include: ['*.har']) implementation 'org.jetbrains:annotations:20.1.0' implementation project(path: ':library') } Usage Instructions Set Glide Transform. ```java Glide.with(classcontext) .load(ResourceTable.Media_demo_org) .apply(RequestOptions.bitmapTransform(new GrayscaleTransformation())) .into(imageview); ``` ## Transformations ### Color - `ColorFilterTransformation` - `GrayscaleTransformation` ### Blur - `BlurTransformation` ### Crop - `CropSquareTransformation` License ------- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.