Commit graph

11 commits

Author SHA1 Message Date
Tobias Hunger
bfca0e3573 Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
Simon Hausmann
64ee1047c8 Simplify filters model
We don't need to re-implement attach_peer
2021-10-20 15:33:37 +02:00
Tobias Hunger
09e272abb6 Janitor: Fix clippy::useless_conversion 2021-08-18 00:24:51 +02:00
Simon Hausmann
481c977b68 Simplify the image filter example
Use a callback to produce the filtered image, instead of back and forth of
properties.
2021-08-11 17:21:30 +02:00
Olivier Goffart
0ebd92c253 ImageFilter demo: "Blur" is the default filter, so it should show that by default 2021-08-11 16:05:06 +02:00
Olivier Goffart
b62d600a3a Make the imagefilter demo self-contained 2021-08-11 15:44:36 +02:00
Simon Hausmann
efb207b299 imagefilter example: use a blur filter as default
It's visually clearer what's filtered and what's not
2021-08-10 17:12:23 +02:00
Simon Hausmann
1a08b392e3 Fix the wasm build of the imagefilter example 2021-08-10 15:56:01 +02:00
Simon Hausmann
d023475f1c Rename Image::new_rgb*() to Image::from_rgb* 2021-08-10 15:56:01 +02:00
Simon Hausmann
42ba8ba7b0 Adapt the imagefilter example to the SharedImageBuffer API removal 2021-08-10 15:56:01 +02:00
Simon Hausmann
10da1a9499 Add an example to filter images in Rust
This demonstrates how to use the image crate and feed data into
SixtyFPS.
2021-08-10 15:56:01 +02:00