Welcome to my GitHub repository! This repository contains three Python files: load.py
, convert.py
, and start.py
. These projects demonstrate my skills in Python programming and image processing.
This repository showcases my work on three distinct Python starts. Each start serves a unique purpose and highlights different aspects of my programming abilities.
load.py
is a Python script designed to decode a custom image format and display it using Pygame. Here are some of its key features:
- Easy decoding of binary image formats.
- Uses Pygame for rendering the image.
- Beginner friendly.
convert.py
is a Python script aimed at converting PNG images to a custom format, which can later be decoded and opened using load.py
. Key functionalities include:
- Easy and fast conversion of PNG to a custom format.
- Simple to use with clear command-line arguments.
start.py
is a versatile script that handles two functionalities: loading and displaying a custom image format using Pygame (load
mode) and converting PNG images to a custom format (convert
mode). Key features include:
- Versatile start with dual functionality.
- Combines the functionalities of
load.py
andconvert.py
. - Clear and easy command-line interface.
To get started with these projects, follow the steps below:
-
Clone this repository to your local machine (Requires Git to be installed):
git clone https://github.com/yourusername/custom-python-projects.git cd custom-python-projects
-
Install the required dependencies. You can use
pip
to install any dependencies listed inrequirements.txt
:pip install -r requirements.txt
Here's how you can use each start:
To run load.py
, use the following command:
python load.py <custom_image_path>
To run convert.py
, use the following command:
python convert.py <png_image_path> <custom_image_path>
To run start.py
in load
mode, use the following command:
python start.py load <custom_image_path>
To run start.py
in convert
mode, use the following command:
python start.py convert <png_image_path> <custom_image_path>
python load.py file.custom
python convert.py file.png file.custom
python start.py load file.custom
python start.py convert file.png file.custom
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Thank you for visiting my GitHub repository! You can view more of my projects on my GitHub profile.