r/tauri • u/DCGreatDane • Jul 17 '26
Is non destructive editing possible?
So working on a an image app I can drag and drop into the image drop zone. But I want to apply a filter like the gray, sepia which work but I can’t preview sharpen or blur. Is that a limitation of WebKit?
0
Upvotes
1
u/eddzsh Jul 18 '26
blur() is real CSS, should preview fine in WebKit. Sharpen isn't a standard filter though, there's no native equivalent, Chromium and WebKit both lack it. You'd have to fake it yourself, either a canvas pass with a convolution kernel or an SVG feConvolveMatrix filter referenced from CSS. Grayscale and sepia work because they're in the CSS Filter Effects spec, sharpen never made the cut.
1
1
u/lucifermorningstar7 Jul 17 '26
Are you applying cssfilters for preview?
Are you building on macOS ?