• Stars
    star
    895
  • Rank 51,027 (Top 2 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An Android image processor library providing a variety of image transformations for Fresco.

DEPRECATED

Fresco Processors is deprecated. No more development will be taking place. For an up-to-date version, please use Transformers. Thanks for all your support!


Fresco Processors

License Maven Central

An Android image processor library providing a variety of transformations for Fresco.

Are you using Picasso or Glide?

Picasso Transformations
Glide Transformations

Demo

Original Image

Processors

How do I use it?

Step 1

Gradle

repositories {
  mavenCentral()
}

dependencies {
  implementation 'jp.wasabeef:fresco-processors:2.2.1'
  // If you want to use the GPU Filters
  implementation 'jp.co.cyberagent.android:gpuimage:2.1.0'
}

Step 2

Set Fresco Postprocessor.

ImageRequest request =
    ImageRequestBuilder.newBuilderWithResourceId(R.drawable.demo)
      .setPostprocessor(processor)
      .build();

PipelineDraweeController controller =
    (PipelineDraweeController) Fresco.newDraweeControllerBuilder()
      .setImageRequest(request)
      .setOldController(holder.drawee.getController())
      .build();

Processors

Color

ColorFilterPostprocessor, GrayscalePostprocessor

Blur

BlurPostprocessor

Mask

MaskProcessors

GPU Filter (use GPUImage)

Will require add dependencies for GPUImage.

ToonFilterPostprocessor, SepiaFilterPostprocessor, ContrastFilterPostprocessor
InvertFilterPostprocessor, PixelationFilterPostprocessor, SketchFilterPostprocessor
SwirlFilterPostprocessor, BrightnessFilterPostprocessor, KuawaharaFilterPostprocessor VignetteFilterPostprocessor

Combine Processors

processor = new CombinePostProcessors.Builder()
                .add(new BlurPostprocessor(context))
                .add(new GrayscalePostprocessor())
                .build();

Developed By

Daichi Furiya (Wasabeef) - [email protected]

Follow me on Twitter

Contributions

Any contributions are welcome!

License

Copyright (C) 2020 Wasabeef

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.

More Repositories

1

awesome-android-ui

A curated list of awesome Android UI/UX libraries
49,845
star
2

recyclerview-animators

An Android Animation library which easily add itemanimator to RecyclerView items.
Kotlin
11,486
star
3

glide-transformations

An Android transformation library providing a variety of image transformations for Glide.
Java
9,889
star
4

richeditor-android

RichEditor for Android is a beautiful Rich Text WYSIWYG Editor for Android.
Java
6,217
star
5

Blurry

Blurry is an easy blur library for Android
Java
5,572
star
6

awesome-android-libraries

This is an alphabetical list of libraries for Android development, the majority being actively maintained.
5,503
star
7

picasso-transformations

An Android transformation library providing a variety of image transformations for Picasso
Java
1,690
star
8

flutter-architecture-blueprints

Flutter Architecture Blueprints is a project that introduces MVVM architecture and project structure approaches to developing Flutter apps.
Dart
1,602
star
9

Takt

Takt is Android library for measuring the FPS using Choreographer.
Java
1,141
star
10

awesome-android-tools

A curated list of awesome Android Tools.
337
star
11

transformers

An Android transformation library providing a variety of image transformations for Coil, Glide, Picasso, and Fresco.
Kotlin
294
star
12

flutter_use

Play Flutter Hooks.
Dart
210
star
13

kotlin-mvvm

Sample for MVVM using Kotlin
Kotlin
181
star
14

droid

A command-line tool for checking Android OS version history written by Rust.
Rust
114
star
15

composable-images

The Composable Images is a library providing Jetpack Compose wrapper for Glide, Picasso, and Coil.
Kotlin
107
star
16

android-RoundedTextureView

RoundedTextureView Sample
Java
51
star
17

flutter_ua_client_hints

Provide User-Agent Client Hints to a Flutter app.
Dart
44
star
18

compose-gap

Easily adding gaps inside such as Columns and Rows for Jetpack Compose.
Kotlin
36
star
19

gifflen-sample

Bitmap color reduction and GIF encoding
C++
31
star
20

flutter_hooks_test

Simple and complete Flutter hooks testing utilities that encourage good testing practices.
Dart
31
star
21

vagrant-kali-linux

Vagrant Boxes - Kali Linux
25
star
22

NavPlayground

This is a sample of Navigation component.
Kotlin
18
star
23

version_gen

The Dart code generator for your package versions. 🎯
Dart
16
star
24

dockerfiles

A collection of Dockerfiles
Shell
12
star
25

wasabeef.jp

Build a web site using the Flutter Web.
Dart
11
star
26

import-asdf-tool-versions-action

βš’οΈ Import .tool-versions of asdf to GitHub Actions workflows.
JavaScript
11
star
27

adball

Adb All devices command
11
star
28

java-code-style

IntelliJ IDEA code style settings for Wasabeef's Java and Android projects.
6
star
29

dotfiles

Managed using chezmoi.
Lua
4
star
30

wasabeef

3
star