Open Otherwa opened 11 months ago
ImgRar is a tool for converting small to medium-sized codes to images and vice-versa. This tool provides a simple command-line interface to perform these conversions.
requirements.txt
To use ImgRar, follow these steps:
Clone the repository:
git clone https://github.com/yourusername/ImgRar.git
Navigate to the project directory:
cd ImgRar
Install the required dependencies:
pip install -r requirements.txt
Run the ImgRar tool:
python img_rar.py [options]
-output
--Output
-input
--Input
-code2png
--Code2Png
-png2code
--Png2Code
-fsize
--fsize
Example usages:
To convert code to PNG image:
python img_rar.py -input [./input_dir] -output [./output_dir] -code2png [1|true] -fsize [256|num]
To convert PNG image to code:
python img_rar.py -input input_dir -output output_dir -png2code
You can install this tool by cloning the GitHub repository and installing the required dependencies as mentioned in the Usage section.
This project is licensed under the XYZ License - see the LICENSE.md file for details.
Feel free to fork and contribute to this project. If you encounter any issues or have suggestions, please open an issue on GitHub.
@CostGranda @rahanahu @rohansp @ayushbali @rahanahu Can you plz add hacktober pr and accept this
ImgRar v1.0
ImgRar is a tool for converting small to medium-sized codes to images and vice-versa. This tool provides a simple command-line interface to perform these conversions.
Table of Contents
Features
Requirements
requirements.txt
Usage
To use ImgRar, follow these steps:
Clone the repository:
Navigate to the project directory:
Install the required dependencies:
Run the ImgRar tool:
Options
-output
,--Output
: Set the output directory.-input
,--Input
: Set the input directory.-code2png
,--Code2Png
: Convert from code to PNG image.-png2code
,--Png2Code
: Convert from PNG image to code.-fsize
,--fsize
: Set the frame size.Example usages:
To convert code to PNG image:
To convert PNG image to code:
Installation
You can install this tool by cloning the GitHub repository and installing the required dependencies as mentioned in the Usage section.
License
This project is licensed under the XYZ License - see the LICENSE.md file for details.
Feel free to fork and contribute to this project. If you encounter any issues or have suggestions, please open an issue on GitHub.