xbin-render


Namexbin-render JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryConvert XBin images to PNG or to terminal
upload_time2024-07-28 19:09:42
maintainerNone
docs_urlNone
authorNone
requires_python>=3
licenseNone
keywords ansi ascii image terminal xbin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # xbin_render

Render [XBin](https://en.wikipedia.org/wiki/XBin) (`.XB`) images to PNG or to terminal.
XBin files are similar to ANSI-art images, as they consist of characters on a background, with 16 colors.

## Install

    pipx install xbin_render

## Usage

Show on terminal

    xbin_render file.xbin

Convert to PNG

    xbin_render file.xbin --output-image file.png

## Format

The spec is at https://www.acid.org/images/0896/XBIN.TXT but it's incomplete as it relies on knowledge on VGA, etc.

## Limitations

The format supports custom fonts, which cannot be rendered easily on a terminal (converting to ressembling characters could be done though).
Rendering to PNG without a custom font is not implemented yet.

## What about `.ANS`/`.ASC` files?

In a color-capable terminal: `iconv -f cp437 MYFILE.ANS`

## License

xbin_render is licensed under the [WTFPLv2](COPYING.wtfpl).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "xbin-render",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": null,
    "keywords": "ansi, ascii, image, terminal, xbin",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/48/7d/0f92a054425b3a4847f1056383bb30815a24b7cd7fb4b106ee0d38816c9b/xbin_render-0.1.0.tar.gz",
    "platform": null,
    "description": "# xbin_render\n\nRender [XBin](https://en.wikipedia.org/wiki/XBin) (`.XB`) images to PNG or to terminal.\nXBin files are similar to ANSI-art images, as they consist of characters on a background, with 16 colors.\n\n## Install\n\n    pipx install xbin_render\n\n## Usage\n\nShow on terminal\n\n    xbin_render file.xbin\n\nConvert to PNG\n\n    xbin_render file.xbin --output-image file.png\n\n## Format\n\nThe spec is at https://www.acid.org/images/0896/XBIN.TXT but it's incomplete as it relies on knowledge on VGA, etc.\n\n## Limitations\n\nThe format supports custom fonts, which cannot be rendered easily on a terminal (converting to ressembling characters could be done though).\nRendering to PNG without a custom font is not implemented yet.\n\n## What about `.ANS`/`.ASC` files?\n\nIn a color-capable terminal: `iconv -f cp437 MYFILE.ANS`\n\n## License\n\nxbin_render is licensed under the [WTFPLv2](COPYING.wtfpl).\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Convert XBin images to PNG or to terminal",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://gitlab.com/hydrargyrum/xbin_render"
    },
    "split_keywords": [
        "ansi",
        " ascii",
        " image",
        " terminal",
        " xbin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cbd070d383a9b1763784d83f873103c67cb4c1186399127f5c6895acdd318b0a",
                "md5": "e94029d1d919e94117d0606d0f32d53f",
                "sha256": "db286c9bd79f089a29c05f35c9d25bbb29813555fb77fc6599e75ccac5e75098"
            },
            "downloads": -1,
            "filename": "xbin_render-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e94029d1d919e94117d0606d0f32d53f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 4727,
            "upload_time": "2024-07-28T19:09:41",
            "upload_time_iso_8601": "2024-07-28T19:09:41.836978Z",
            "url": "https://files.pythonhosted.org/packages/cb/d0/70d383a9b1763784d83f873103c67cb4c1186399127f5c6895acdd318b0a/xbin_render-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "487d0f92a054425b3a4847f1056383bb30815a24b7cd7fb4b106ee0d38816c9b",
                "md5": "49ea0005354ef63f414d68f36058fc6b",
                "sha256": "5293482fe78ea90a4062536c3a56f03e7d44e8081f938b859510bd8805b79a74"
            },
            "downloads": -1,
            "filename": "xbin_render-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "49ea0005354ef63f414d68f36058fc6b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 3893,
            "upload_time": "2024-07-28T19:09:42",
            "upload_time_iso_8601": "2024-07-28T19:09:42.921322Z",
            "url": "https://files.pythonhosted.org/packages/48/7d/0f92a054425b3a4847f1056383bb30815a24b7cd7fb4b106ee0d38816c9b/xbin_render-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-28 19:09:42",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "hydrargyrum",
    "gitlab_project": "xbin_render",
    "lcname": "xbin-render"
}
        
Elapsed time: 0.27219s