This is a quick library I wrote which allows users to transform any image into an ASCII text file string image by just calling one method
".convertImageToASCII(image)" whereby image opened using the pillow library is passed as parameter "image". A string of lenght W*H is returned
(with appropiate "\n" to get a new line/row), where W is image width and H is image height. The string when written to a text file will look
just like the input image but each pixel replaced by a corresponding ASCII character depending on the pixel's brightness.
This library is written by Omar Maaouane at 12:00 11/12/2022 (DD/MM/YYYY)
Change Log
================----
0.0.1 (11/12/2022)
--------------------
-First Release
Raw data
{
"_id": null,
"home_page": "https://github.com/electromaster0395/image-to-ascii-converter-library",
"name": "Image-To-ASCII-generator",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "converter,ASCII,image",
"author": "Omar Maaoune",
"author_email": "Electromaster20000@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f0/a7/b983119325cb03eab6d918ee21c49998cff1a992739c0b4c27f08bed2a1a/Image%20To%20ASCII%20generator-1.0.2.tar.gz",
"platform": null,
"description": "This is a quick library I wrote which allows users to transform any image into an ASCII text file string image by just calling one method \r\n\".convertImageToASCII(image)\" whereby image opened using the pillow library is passed as parameter \"image\". A string of lenght W*H is returned\r\n(with appropiate \"\\n\" to get a new line/row), where W is image width and H is image height. The string when written to a text file will look\r\njust like the input image but each pixel replaced by a corresponding ASCII character depending on the pixel's brightness.\r\n\r\nThis library is written by Omar Maaouane at 12:00 11/12/2022 (DD/MM/YYYY)\r\nChange Log\r\n================----\r\n\r\n0.0.1 (11/12/2022)\r\n--------------------\r\n-First Release\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Image to ASCII converter",
"version": "1.0.2",
"split_keywords": [
"converter",
"ascii",
"image"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "7f92231ab1110ae00911aaf636ec4468",
"sha256": "77ef62cda4e323d2c71b2908352d66338c031781dd013fae55b8eefab3b26df3"
},
"downloads": -1,
"filename": "Image To ASCII generator-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "7f92231ab1110ae00911aaf636ec4468",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1762,
"upload_time": "2022-12-11T05:24:42",
"upload_time_iso_8601": "2022-12-11T05:24:42.549399Z",
"url": "https://files.pythonhosted.org/packages/f0/a7/b983119325cb03eab6d918ee21c49998cff1a992739c0b4c27f08bed2a1a/Image%20To%20ASCII%20generator-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-11 05:24:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "electromaster0395",
"github_project": "image-to-ascii-converter-library",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "image-to-ascii-generator"
}