Open swissspidy opened 5 months ago
Current Gutenberg implementation:
The default image editing capabilities in Gutenberg can be disabled via the imageEditing
setting in the core/block-editor
store.
wp.data.select( 'core/block-editor').getSettings().imageEditing
/ wp.data.dispatch( 'core/block-editor').updateSettings( { imageEditing: false })
Icon to remove the background:
Can use the same image segmentation library as for blurring (see also #223)
Related: https://github.com/google-ai-edge/mediapipe/issues/4630
Gutenberg supports cropping images in the editor, but that relies on the server to do.
Instead, this can all be done in the browser.
Also, new editing capabilities can be added, such as: