exe2png


Nameexe2png JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/donno2048/exe2png
SummaryConvert executables (or any other file) into an image
upload_time2022-09-21 18:07:45
maintainer
docs_urlNone
authorElisha Hollander
requires_python>=3.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # exe2png

Convert executables (or any other file) into an image

## Installation

### From PyPI

```sh
pip3 install exe2png
```

### From GitHub

```sh
pip3 install git+https://github.com/donno2048/exe2png
```

## Usage

```sh
exe2png -h
usage: exe2png [-h] (-e | -d) [-c] [-H HEIGHT] -f FILE [-o OUTPUT]

Encode or decode a file to or from a PNG image.

optional arguments:
  -h, --help            show this help message and exit
  -e, --encode          encode a file to a PNG image
  -d, --decode          decode a PNG image to a file
  -c, --color           encode or decode a color image
  -H HEIGHT, --height HEIGHT
                        height of the image
  -f FILE, --file FILE  the file to encode or decode
  -o OUTPUT, --output OUTPUT
                        the file to output to
```

For example, we can encode my [snake executable](https://github.com/donno2048/snake) to a greyscale PNG image:

```sh
wget https://github.com/donno2048/snake/releases/download/v16/snake.com
exe2png -e -H 15 -f snake.com -o snakeL.png
```

and get this:

![greyscale image](https://github.com/donno2048/exe2png/raw/master/snakeL.png)

and we can decode the image back to a file:

```sh
exe2png -d -f snakeL.png -o snake.com
```

or we can encode a color image:

```sh
exe2png -e -c -H 9 -f snake.com -o snakeRGB.png
```

and get this:

![color image](https://github.com/donno2048/exe2png/raw/master/snakeRGB.png)

and we can decode the image back to a file:

```sh
exe2png -d -c -f snakeRGB.png -o snake.com
```

Here is python itself encoded into a PNG image:

![python image](https://github.com/donno2048/exe2png/raw/master/python.png)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/donno2048/exe2png",
    "name": "exe2png",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Elisha Hollander",
    "author_email": "just4now666666@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/84/8e/23955a9856dc4ceca7d5bbd6be0245ddcc299cefe62d6b0e2097a980edc2/exe2png-1.0.1.tar.gz",
    "platform": null,
    "description": "# exe2png\n\nConvert executables (or any other file) into an image\n\n## Installation\n\n### From PyPI\n\n```sh\npip3 install exe2png\n```\n\n### From GitHub\n\n```sh\npip3 install git+https://github.com/donno2048/exe2png\n```\n\n## Usage\n\n```sh\nexe2png -h\nusage: exe2png [-h] (-e | -d) [-c] [-H HEIGHT] -f FILE [-o OUTPUT]\n\nEncode or decode a file to or from a PNG image.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -e, --encode          encode a file to a PNG image\n  -d, --decode          decode a PNG image to a file\n  -c, --color           encode or decode a color image\n  -H HEIGHT, --height HEIGHT\n                        height of the image\n  -f FILE, --file FILE  the file to encode or decode\n  -o OUTPUT, --output OUTPUT\n                        the file to output to\n```\n\nFor example, we can encode my [snake executable](https://github.com/donno2048/snake) to a greyscale PNG image:\n\n```sh\nwget https://github.com/donno2048/snake/releases/download/v16/snake.com\nexe2png -e -H 15 -f snake.com -o snakeL.png\n```\n\nand get this:\n\n![greyscale image](https://github.com/donno2048/exe2png/raw/master/snakeL.png)\n\nand we can decode the image back to a file:\n\n```sh\nexe2png -d -f snakeL.png -o snake.com\n```\n\nor we can encode a color image:\n\n```sh\nexe2png -e -c -H 9 -f snake.com -o snakeRGB.png\n```\n\nand get this:\n\n![color image](https://github.com/donno2048/exe2png/raw/master/snakeRGB.png)\n\nand we can decode the image back to a file:\n\n```sh\nexe2png -d -c -f snakeRGB.png -o snake.com\n```\n\nHere is python itself encoded into a PNG image:\n\n![python image](https://github.com/donno2048/exe2png/raw/master/python.png)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Convert executables (or any other file) into an image",
    "version": "1.0.1",
    "project_urls": {
        "Bug Reports": "https://github.com/donno2048/exe2png/issues",
        "Documentation": "https://github.com/donno2048/exe2png#readme",
        "Homepage": "https://github.com/donno2048/exe2png",
        "Source Code": "https://github.com/donno2048/exe2png"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c9d07083e7ab9895aa881c3cc97e082797f74705c4a3b062fac604a40a27dd3a",
                "md5": "4479b17b6030ad204e858874749bf89b",
                "sha256": "288083a8447dc39da0af6da599d2f7a1be7af1d79d68a4fac98d05b991bca782"
            },
            "downloads": -1,
            "filename": "exe2png-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4479b17b6030ad204e858874749bf89b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.0",
            "size": 3880,
            "upload_time": "2022-09-21T18:07:43",
            "upload_time_iso_8601": "2022-09-21T18:07:43.181420Z",
            "url": "https://files.pythonhosted.org/packages/c9/d0/7083e7ab9895aa881c3cc97e082797f74705c4a3b062fac604a40a27dd3a/exe2png-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "848e23955a9856dc4ceca7d5bbd6be0245ddcc299cefe62d6b0e2097a980edc2",
                "md5": "e0bf591a5e2c66b3d14209ec8d9dcd95",
                "sha256": "06a54258141c84ddfd36b36c305c1f28a3ed4f9ba88d455610b4cf58a63d8e73"
            },
            "downloads": -1,
            "filename": "exe2png-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e0bf591a5e2c66b3d14209ec8d9dcd95",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.0",
            "size": 3293,
            "upload_time": "2022-09-21T18:07:45",
            "upload_time_iso_8601": "2022-09-21T18:07:45.083913Z",
            "url": "https://files.pythonhosted.org/packages/84/8e/23955a9856dc4ceca7d5bbd6be0245ddcc299cefe62d6b0e2097a980edc2/exe2png-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-09-21 18:07:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "donno2048",
    "github_project": "exe2png",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "exe2png"
}
        
Elapsed time: 0.20252s