Work-Sprite is a desktop application built with Python and Tkinter that provides two main functionalities: Sprite Rendering and Image Splitting.
- Load sprite images (JPG, JPEG, PNG, BMP)
- Select multiple regions of interest (ROIs) by dragging the mouse
- Save selected ROIs as individual PNG files
- Split images (JPG, JPEG, PNG, BMP) into multiple chunks
- Set the step size (width) for splitting
- Choose the save path for the split image chunks
- Option to delete previously split files
- Clone the repository or download the source code.
- Install dependencies:
pip install opencv-python Pillow
- Run
main.py
to start the app. - Use the provided buttons and input fields to navigate through the functionalities.
- For Sprite Rendering: Select sprite, choose ROIs, and save selections.
- For Image Splitting: Select image, set step size, choose save path, and split.
Contributions are welcome! Open an issue or submit a pull request for improvements.
- Tkinter (GUI toolkit)
- OpenCV (image processing)
- Pillow (image processing support)