Skip to content

VisualBase64 is a lightweight script written in Python that allows users to easily convert images to Base64 strings. This tool is ideal for developers who need to embed images directly into HTML, CSS, or JSON without having to host the images externally.

License

Notifications You must be signed in to change notification settings

ericmaddox/visualbase64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VisualBase64

Python Tkinter Issues Last Commit

A sleek and professional tool for converting images to Base64 strings with ease. Drag, drop, encode, and copy—VisualBase64 makes it simple.

Overview

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.

Features

  • 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

Requirements

  • Python 3.x
  • tkinter
  • tkinterdnd2

Installation

  1. Clone the repository:

    git clone https://github.com/ericmaddox/visualbase64.git
    cd visualbase64
  2. Install the required Python packages:

    pip install -r requirements.txt

Usage

  1. Run the application:

    python visual_base64.py
  2. Drag and drop an image file into the specified area in the GUI.

  3. The converted Base64 string will be displayed in the text widget.

  4. To copy the Base64 string to the clipboard, click the "Copy to Clipboard" button.

Getting Started

Follow these steps to get your development environment set up:

  1. Ensure you have Python 3.x installed.
  2. Install the required packages using the provided requirements.txt file.
  3. Run the application and start converting your images to Base64!

Screenshots

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss any changes or improvements.

Acknowledgements

  • tkinter - The standard GUI toolkit for Python
  • tkinterdnd2 - A drag-and-drop support library for tkinter

About

VisualBase64 is a lightweight script written in Python that allows users to easily convert images to Base64 strings. This tool is ideal for developers who need to embed images directly into HTML, CSS, or JSON without having to host the images externally.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages