{"id":15540307,"url":"https://github.com/rm-hull/image-preview","last_synced_at":"2025-03-29T00:15:09.978Z","repository":{"id":145430980,"uuid":"326483164","full_name":"rm-hull/image-preview","owner":"rm-hull","description":"CLI takes in an image file, and using ANSI escape sequences, outputs a low-fidelity preview of the image in the terminal.","archived":false,"fork":false,"pushed_at":"2021-01-04T22:23:01.000Z","size":2494,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-03T12:17:57.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rm-hull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2021-01-03T19:18:38.000Z","updated_at":"2021-12-19T14:38:20.000Z","dependencies_parsed_at":"2023-06-03T18:15:26.530Z","dependency_job_id":null,"html_url":"https://github.com/rm-hull/image-preview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Fimage-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Fimage-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Fimage-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Fimage-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rm-hull","download_url":"https://codeload.github.com/rm-hull/image-preview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246117762,"owners_count":20726069,"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":[],"created_at":"2024-10-02T12:13:29.658Z","updated_at":"2025-03-29T00:15:09.956Z","avatar_url":"https://github.com/rm-hull.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Preview\n\nA first foray into **rust-lang**. Once built, this program takes in an image file, and\nusing ANSI escape sequences, outputs a low-fidelity preview of the image in the terminal.\nInspired in part by the **asciiblock** emulator [here](https://github.com/rm-hull/luma.emulator).\n\n![screenshot](https://raw.githubusercontent.com/rm-hull/image-preview/master/screenshot.png)\n\n```console\n$ target/release/image-preview -h\nimage-preview 0.1.0\n\nUSAGE:\n    image-preview [FLAGS] [OPTIONS] \u003cfilename\u003e\n\nFLAGS:\n    -h, --help          Prints help information\n        --true-color    When supplied, renders the image in true colour (not supported on all terminals). The default is\n                        to use the nearest colour from the 255 indexed colours of the standard ANSI palette.\n    -V, --version       Prints version information\n\nOPTIONS:\n        --filter-type \u003cfilter-type\u003e    Resize filter used when scaling for the terminal (allowed values: nearest,\n                                       triangle, catmullrom, gaussian, lanczos3) [default: lanczos3]\n    -w, --width \u003cwidth\u003e                When supplied, limits the image with to the number of columns, else probes the\n                                       terminal to determine the displayable width.\n\nARGS:\n    \u003cfilename\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frm-hull%2Fimage-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frm-hull%2Fimage-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frm-hull%2Fimage-preview/lists"}