KevinBatdorf / image-filters

A Gutenberg block providing image filters processed with Rust/wasm
https://wordpress.org/plugins/image-filters/
MIT License
6 stars 1 forks source link

overlay white or black #46

Open 1ucay opened 1 year ago

1ucay commented 1 year ago

Hello, can you please add effects with overlay

1) origin image with overlay rgba(0,0,0,0.25) 2) origin image with overlay rgba(0,0,0,0.5) 3) origin image with overlay rgba(0,0,0,0.75) 4) origin image with overlay rgba(255,255,255,0.25) 5) origin image with overlay rgba(255,255,255,0.5) 6) origin image with overlay rgba(255,255,255,0.75)

KevinBatdorf commented 1 year ago

The way this plugin works is it's using webassembly to transform the images directly. Is there a reason you wouldn't just add an overlay with CSS?

1ucay commented 1 year ago

I have website with header and title centered inside in image. Sometimes there can be image as is. Sometime, there is needed to add overlay, because image is too bright / or dark, because title should be visible.

1ucay commented 1 year ago

Because Gutenberg have full site editing, it would be usefull not use photoshop or css.

1ucay commented 1 year ago

Good will be also blur effect.

KevinBatdorf commented 1 year ago

This plugin isnt really getting attention lately though. It was more of an experiment in using webassembly.

I'll try to find some time to look into it though.

Doesn't Gutenberg have a cover block that does what you want, though?