Git Product home page Git Product logo

convert-image-to-binary's Introduction

convert-image-to-binary

APM Editor

画像をバイナリーに変換してファイルに出力

Demo

入力ファイル

original-image

出力ファイルの一部

  • 最初に入力画像のピクセル数が縦 横の順番で与えられます
599 841
0000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111100100000110011111111000000111000000011111001100010001100111110001000000000001111000101010000000100110000000000000000000010001000001111001111100011111101111101111111000100001100000011000000000000000001000000010000000000001111110000000000000000000000000000000000000000000000000000000011111110000000000000010011111100000010100000000001000000111100110001001000001110000010000001000000100100001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001000011100110000000000000101000000000000000010000111001100000111001000000000000011011110000000010000000000000001000000000000000110000111010111110000000010000000000011001001000011100000000000011111100011000000000011111110000000000111111111111111111111111111111111111111111111111000000000001111111000000000000000100000001111100011111111000000100001101111111000011100011111001110001110010000110001110000000000000000000000000000000000000000000000000000000000000000000000000000000

Installation

git clone https://github.com/kkml4220/convert-image-to-binary.git
cd convert-image-to-binary
pip install -r requirements.txt

Usage

python convert_image_to_binary.py input/sample_background.png

License

"convert-image-to-binary" is under MIT license.

convert-image-to-binary's People

Watchers

Takahashi Katsuyuki 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.