Image Blur Tool AI Prompt
Create an advanced Image Blur Tool using HTML, CSS, and JavaScript with the following features:
๐ผ️ Core UI:
-
A user interface with a drag-and-drop or file input to upload an image.
-
A preview area where the uploaded image is displayed.
-
Responsive layout with a modern, clean design.
๐️ Blur Controls:
-
A slider to control the intensity of the blur (range 0px to 30px).
-
Drop-down or radio buttons to choose blur types:
-
Gaussian Blur (default)
-
Box Blur
-
Motion Blur (simulated via CSS/JS filters)
-
-
A toggle for live preview (apply blur in real time).
๐ Area Selection:
-
Let users select a specific region of the image to blur using:
-
A draggable and resizable rectangle overlay (with handles).
-
Option to apply blur to the entire image or the selected area only.
-
✨ Advanced Features:
-
Feathering control for smooth blur edges (via mask or gradient fade).
-
Ability to invert selection (blur everything except selected area).
-
Support for undo/redo changes (history stack).
-
Button to reset image to original.
-
Option to download the edited image (with applied blur) as JPG or PNG.
๐ ️ Tech Notes:
-
Use the
<canvas>element for image manipulation and preview. -
Apply blur using canvas filters or WebGL (for performance).
-
Ensure compatibility with modern browsers (Chrome, Firefox, Safari).
-
Add accessibility features (labels, keyboard navigation, etc.).
Comments
Post a Comment