Skip to content
pubscout

flutter_image_filters

0.0.32, released a year ago by an unverified publisher

Apply OpenGL fragment shader filters to images with preview widgets.

$ flutter pub add flutter_image_filters
Source repository

What it does

Applies various OpenGL/SPIR-V fragment shader filters to images, supports filter pipelines, lookup tables, and includes preview widgets like ImageShaderPreview.

AI-written summary of version 0.0.32, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to apply GPU-accelerated image filters like brightness, contrast, blur, or lookup tables.
  • You want to render filtered images in real-time inside Flutter widgets.

Skip it when

  • You only need basic image loading or caching without complex shaders.
  • Your target platform does not support the required graphics backend capabilities.

Strengths

  • Wide selection of pre-built GPUImage-based shaders.
  • Supports grouped filter pipelines and custom shaders.
  • Provides ready-to-use preview widgets.

Weaknesses

  • Platform-specific rendering issues may occur depending on Android/iOS versions.
  • Requires managing texture sources and configurations manually.

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
5

Uses OpenGL fragment shaders and supports code generation via build_runner for custom/bunch configurations.

final texture = await TextureSource.fromAsset('demo.jpeg');
final configuration = BrightnessShaderConfiguration();
configuration.brightness = 0.5;
final image = await configuration.export(texture, texture.size);

Alternatives

Packages that do the same job and could replace flutter_image_filters.

  • image

    If you want pure Dart CPU-based image manipulation instead of GPU-accelerated shaders.

Works with

Packages commonly used together with flutter_image_filters: ones it builds on, ones built on it, and its own family.