A sleek and professional tool for converting images to Base64 strings with ease. Drag, drop, encode, and copy—VisualBase64 makes it simple. |
The Image to Base64 Converter is a graphical user interface (GUI) application that allows users to convert image files to Base64 strings. The application provides a drag and drop area for easy file selection, displays the converted Base64 string, and includes a button to copy the Base64 string to the clipboard.
- Drag and drop support for image file selection
- Converts image files to Base64 strings
- Displays the converted Base64 string in a text widget
- Button to copy the Base64 string to the clipboard
- Supports common image formats: PNG, JPEG, BMP, GIF, TIFF
- Python 3.x
- tkinter
- tkinterdnd2
-
Clone the repository:
git clone https://github.com/ericmaddox/visualbase64.git cd visualbase64
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the application:
python visual_base64.py
-
Drag and drop an image file into the specified area in the GUI.
-
The converted Base64 string will be displayed in the text widget.
-
To copy the Base64 string to the clipboard, click the "Copy to Clipboard" button.
Follow these steps to get your development environment set up:
- Ensure you have Python 3.x installed.
- Install the required packages using the provided
requirements.txt
file. - Run the application and start converting your images to Base64!
This project is licensed under the MIT License.
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes or improvements.
- tkinter - The standard GUI toolkit for Python
- tkinterdnd2 - A drag-and-drop support library for tkinter