{"id":13989478,"url":"https://github.com/wasabeef/fresco-processors","last_synced_at":"2025-04-12T15:36:00.666Z","repository":{"id":30447543,"uuid":"34001093","full_name":"wasabeef/fresco-processors","owner":"wasabeef","description":"An Android image processor library providing a variety of image transformations for Fresco.","archived":false,"fork":false,"pushed_at":"2021-02-14T14:45:41.000Z","size":3513,"stargazers_count":894,"open_issues_count":11,"forks_count":129,"subscribers_count":37,"default_branch":"main","last_synced_at":"2024-10-11T08:10:40.929Z","etag":null,"topics":["android","android-library","image-processing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wasabeef.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-15T15:09:33.000Z","updated_at":"2024-09-14T04:00:34.000Z","dependencies_parsed_at":"2022-07-24T16:47:10.600Z","dependency_job_id":null,"html_url":"https://github.com/wasabeef/fresco-processors","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Ffresco-processors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Ffresco-processors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Ffresco-processors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Ffresco-processors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasabeef","download_url":"https://codeload.github.com/wasabeef/fresco-processors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590238,"owners_count":21129769,"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":["android","android-library","image-processing"],"created_at":"2024-08-09T13:01:41.122Z","updated_at":"2025-04-12T15:36:00.635Z","avatar_url":"https://github.com/wasabeef.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n        \u003ch3\u003eDEPRECATED\u003c/h3\u003e\n        Fresco Processors is deprecated. No more development will be taking place. For an up-to-date version,\n        please use \u003ca href=\"https://github.com/wasabeef/transformers\"\u003eTransformers\u003c/a\u003e. Thanks for all your support!\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003cbr/\u003e\u003cbr/\u003e\n\nFresco Processors\n======================\n[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/jp.wasabeef/fresco-processors/badge.svg)](https://search.maven.org/artifact/jp.wasabeef/fresco-processors)\n\nAn Android image processor library providing a variety of transformations for [Fresco](https://github.com/facebook/fresco).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"art/logo.png\" width=\"75%\"\u003e\n\u003c/p\u003e\n\n#### Are you using Picasso or Glide?\n[Picasso Transformations](https://github.com/wasabeef/picasso-transformations)  \n[Glide Transformations](https://github.com/wasabeef/glide-transformations)\n\n# Demo\n\n### Original Image\n\u003cimg src=\"art/demo-org.jpg\" width=\"30%\"\u003e\n\n### Processors\n\u003cimg src=\"art/demo.gif\" width=\"50%\"\u003e\n\n# How do I use it?\n\n## Step 1\n\n#### Gradle\n```groovy\nrepositories {\n  mavenCentral()\n}\n\ndependencies {\n  implementation 'jp.wasabeef:fresco-processors:2.2.1'\n  // If you want to use the GPU Filters\n  implementation 'jp.co.cyberagent.android:gpuimage:2.1.0'\n}\n```\n\n## Step 2\n\nSet Fresco Postprocessor.\n\n```java\nImageRequest request =\n    ImageRequestBuilder.newBuilderWithResourceId(R.drawable.demo)\n      .setPostprocessor(processor)\n      .build();\n\nPipelineDraweeController controller =\n    (PipelineDraweeController) Fresco.newDraweeControllerBuilder()\n      .setImageRequest(request)\n      .setOldController(holder.drawee.getController())\n      .build();\n```\n\n## Processors\n\n### Color\n`ColorFilterPostprocessor`, `GrayscalePostprocessor`\n\n### Blur\n`BlurPostprocessor`\n\n### Mask\n`MaskProcessors`\n\n### GPU Filter (use [GPUImage](https://github.com/CyberAgent/android-gpuimage))\n**Will require add dependencies for GPUImage.**  \n\n`ToonFilterPostprocessor`, `SepiaFilterPostprocessor`, `ContrastFilterPostprocessor`  \n`InvertFilterPostprocessor`, `PixelationFilterPostprocessor`, `SketchFilterPostprocessor`  \n`SwirlFilterPostprocessor`, `BrightnessFilterPostprocessor`, `KuawaharaFilterPostprocessor`\n`VignetteFilterPostprocessor`\n\n## Combine Processors\n```java\nprocessor = new CombinePostProcessors.Builder()\n                .add(new BlurPostprocessor(context))\n                .add(new GrayscalePostprocessor())\n                .build();\n```\n\nDeveloped By\n-------\nDaichi Furiya (Wasabeef) - \u003cdadadada.chop@gmail.com\u003e\n\n\u003ca href=\"https://twitter.com/wasabeef_jp\"\u003e\n\u003cimg alt=\"Follow me on Twitter\"\nsrc=\"https://raw.githubusercontent.com/wasabeef/art/master/twitter.png\" width=\"75\"/\u003e\n\u003c/a\u003e\n\nContributions\n-------\n\nAny contributions are welcome!\n\nLicense\n-------\n\n    Copyright (C) 2020 Wasabeef\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Ffresco-processors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasabeef%2Ffresco-processors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Ffresco-processors/lists"}