Giter VIP home page Giter VIP logo

imgrar's Introduction

ImgRar v1.0

baseconversion py convert py

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

  • Convert code to PNG image.
  • Convert PNG image to code.
  • Specify input and output directories.
  • Set the frame size for image conversion.

Requirements

  • Python 3.x
  • Dependencies listed in requirements.txt

Usage

To use ImgRar, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/ImgRar.git
    
  2. Navigate to the project directory:

    cd ImgRar
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    
  4. Run the ImgRar tool:

    python convert.py [options]
    

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:

    python convert.py -input [./input_dir] -output [./output_dir] -code2png [1|true] -fsize [256|num]
    
  • To convert PNG image to code:

     python convert.py -input [./input_dir] -output [./output_dir] -png2code [1|true] -fsize [256|num]
    

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 BSD License - see the LICENSE.md file for details.

imgrar's People

Contributors

mirusu400 avatar otherwa avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.