-
Take user input for image:
- Enter file path (CLI) or upload image (Streamlit).
-
Load the image.
-
Convert the image to grayscale.
-
Ask user if they want to:
- View the grayscale image (press 1)
- Save the grayscale image (press 2)
-
If saving, ask for output filename and save the grayscale image.
Optional for Streamlit:
- Show original and grayscale images side-by-side.
- Allow download of the grayscale image.
- Set custom page title and icon.