Fresco Processors

Additional

Language
Java
Version
2.0.0 (Mar 4, 2016)
Created
Apr 15, 2015
Updated
Sep 27, 2020
Owner
Daichi Furiya (wasabeef)
Contributors
Daichi Furiya (wasabeef)
Bill (daose)
2
Activity
Badge
Generate
Download
Source code

Announcement

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!




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, ContrastFilterPostprocessorSwirlFilterPostprocessor, BrightnessFilterPostprocessor, KuawaharaFilterPostprocessorVignetteFilterPostprocessorInvertFilterPostprocessor, PixelationFilterPostprocessor, SketchFilterPostprocessor


Combine Processors

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

Developed By

Daichi Furiya (Wasabeef) - dadadada.chop@gmail.com

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.