{"id":20092352,"url":"https://github.com/rubixdev/ansipix","last_synced_at":"2026-02-26T03:36:26.650Z","repository":{"id":57489293,"uuid":"436759563","full_name":"RubixDev/ansipix","owner":"RubixDev","description":"A rust library for reading images as ANSI strings to print in a terminal","archived":false,"fork":false,"pushed_at":"2023-02-06T18:30:24.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-16T08:52:01.038Z","etag":null,"topics":["rust","rust-library"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/ansipix","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RubixDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"rubixdev"}},"created_at":"2021-12-09T20:59:09.000Z","updated_at":"2024-05-12T16:42:34.000Z","dependencies_parsed_at":"2024-11-13T16:39:15.181Z","dependency_job_id":null,"html_url":"https://github.com/RubixDev/ansipix","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"011cc9fe27399f4bd45d5e49ffd772a8e765617b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fansipix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fansipix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fansipix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fansipix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RubixDev","download_url":"https://codeload.github.com/RubixDev/ansipix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241533650,"owners_count":19977826,"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":["rust","rust-library"],"created_at":"2024-11-13T16:36:45.177Z","updated_at":"2026-02-26T03:36:26.624Z","avatar_url":"https://github.com/RubixDev.png","language":"Rust","readme":"# ansipix\n\nA Rust library for converting images to ANSI strings to print in a terminal\n\n## Usage\n\n### Get an ANSI string\n\n```rust\nlet img = ansipix::of_image(\u0026image::open(\"example.png\").unwrap(), (50, 50), 100, false);\nprintln!(\"{}\", img);\n```\n\nRefer to the [docs](https://docs.rs/ansipix/latest/ansipix/) for more\ninformation.\n\n### Specify a different filter type\n\n`ansipix` uses the [`image`](https://docs.rs/image/latest/image/) crate for\nreading and resizing the image. The [`of_image`] function uses\n[`FilterType::Nearest`] for resizing. You can specify a different one with the\n[`of_image_with_filter`] function.\n\n```rust\nuse image::imageops::FilterType;\n\nlet img = ansipix::of_image_with_filter(\u0026image::open(\"example.png\").unwrap(), (32, 32), 255, false, FilterType::Triangle);\nprintln!(\"{}\", img);\n```\n","funding_links":["https://ko-fi.com/rubixdev"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubixdev%2Fansipix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubixdev%2Fansipix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubixdev%2Fansipix/lists"}