1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 08:57:47 +00:00

PixelPaint: Add a Bloom filter

A bloom filter creates fringes around bright areas in the image
mimicking the behavior of real-world cameras.
It gets its own category "Artistic" in the Filter Gallery since its not
one filter per se but a combination of multiple.

The filter works as follows:
- Get only the light areas (above a threshold) of the image
- Blur that image
- Compose onto the original image
This commit is contained in:
Tobias Christiansen 2022-01-04 16:00:05 +01:00 committed by Idan Horowitz
parent e4b7d38e18
commit f92172c7c3
4 changed files with 122 additions and 0 deletions

View file

@ -17,6 +17,7 @@ set(SOURCES
FilterGallery.cpp
FilterGalleryGML.h
FilterModel.cpp
Filters/Bloom.cpp
Filters/BoxBlur3.cpp
Filters/BoxBlur5.cpp
Filters/Filter.cpp