{"id":16721507,"url":"https://github.com/jdormit/txtpic","last_synced_at":"2025-03-21T21:30:40.039Z","repository":{"id":57670861,"uuid":"86425741","full_name":"jdormit/txtpic","owner":"jdormit","description":"Generate Unicode art from images","archived":false,"fork":false,"pushed_at":"2017-04-06T21:56:04.000Z","size":297,"stargazers_count":23,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T05:11:51.833Z","etag":null,"topics":["ascii-art","rust","unicode-art"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdormit.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-28T06:56:49.000Z","updated_at":"2024-03-03T13:25:57.000Z","dependencies_parsed_at":"2022-09-26T20:41:18.450Z","dependency_job_id":null,"html_url":"https://github.com/jdormit/txtpic","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdormit%2Ftxtpic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdormit%2Ftxtpic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdormit%2Ftxtpic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdormit%2Ftxtpic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdormit","download_url":"https://codeload.github.com/jdormit/txtpic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244874096,"owners_count":20524572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ascii-art","rust","unicode-art"],"created_at":"2024-10-12T22:30:56.862Z","updated_at":"2025-03-21T21:30:39.607Z","avatar_url":"https://github.com/jdormit.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# txtpic\n\u003e Generate Unicode art from images\n\n## Installation\nYou'll need [Cargo](http://doc.crates.io) to install `txtpic`.\n\n    $ cargo install txtpic\n\n## Usage\n\n    txtpic 1.2.4\n    Jeremy Dormitzer \u003cjeremy.dormitzer@gmail.com\u003e\n    Generates text representations of images\n\n    USAGE:\n    txtpic [FLAGS] [OPTIONS] \u003cIMAGE\u003e\n\n    FLAGS:\n    -h, --help       Prints help information\n    -i, --invert     Invert the result to make it suitable for black text on a white background\n    -V, --version    Prints version information\n\n    OPTIONS:\n    -c, --character-set \u003cCHARACTERS\u003e    An alternate character set to use\n    -p, --preset \u003cPRESET NAME\u003e          A preset character set to use [default: small]  [values: small, medium, large, emoji]\n    -w, --width \u003cWIDTH\u003e                 An approximate width value for the result [default: 80]\n\n    ARGS:\n    \u003cIMAGE\u003e    The input image\n\n    Note: the --width option attempts find a width close to the target width that preserves \n    the aspect ratio of the original image. For certain images, there may be only one or two \n    valid widths within a reasonable range, so the --width option may not appear to have an effect.\n    In this case, try extremely high or extremely low width values to affect the output.\n\n## Example\nHere is an adorable cat.\n\n![Adorable cat](./example/cat.jpg)\n\nConverting it with:\n\n    $ txtpic --width 100 cat.jpg\n\nGives the [output](./example/cat.txt):\n\n![Text cat](./example/text-cat.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdormit%2Ftxtpic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdormit%2Ftxtpic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdormit%2Ftxtpic/lists"}