{"id":15650459,"url":"https://github.com/scrogson/mirage","last_synced_at":"2026-03-04T19:32:37.796Z","repository":{"id":65758367,"uuid":"174072193","full_name":"scrogson/mirage","owner":"scrogson","description":"Image manipulation package for Elixir","archived":false,"fork":false,"pushed_at":"2020-12-26T22:41:50.000Z","size":49,"stargazers_count":38,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T05:17:54.198Z","etag":null,"topics":["elixir","image-manipulation","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scrogson.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":"2019-03-06T04:36:33.000Z","updated_at":"2025-03-18T07:29:24.000Z","dependencies_parsed_at":"2023-02-08T13:05:11.388Z","dependency_job_id":null,"html_url":"https://github.com/scrogson/mirage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scrogson/mirage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrogson%2Fmirage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrogson%2Fmirage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrogson%2Fmirage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrogson%2Fmirage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scrogson","download_url":"https://codeload.github.com/scrogson/mirage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrogson%2Fmirage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30090554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T18:31:08.343Z","status":"ssl_error","status_checked_at":"2026-03-04T18:31:07.708Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["elixir","image-manipulation","rust"],"created_at":"2024-10-03T12:34:43.164Z","updated_at":"2026-03-04T19:32:37.754Z","avatar_url":"https://github.com/scrogson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mirage\n\n\u003e Image manipulation for Elixir.\n\nThis library provides a [Rust] implemented [NIF] which currently supports\nresizing images.\n\n## Installation\n\nBecause this library is partially implemented in [Rust], you will need to have\nthe Rust toolchain installed on your system.\n\n### Install Rust\n\n```\ncurl https://sh.rustup.rs -sSf | sh\n```\n\n### Add package to your mix.exs\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `mirage` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:mirage, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Basic usage\n\n```ex\n{:ok, bytes} = File.read(\"/path/to/image.png\")\n{:ok, mirage} = Mirage.from_bytes(bytes)\n{:ok, new_bytes, mirage} = Mirage.resize(mirage, 400, 300)\n\nmirage.width #=\u003e 400\nmirage.height #=\u003e 300\n\nFile.write!(\"/path/to/resized-400x300.png\", new_bytes)\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/mirage](https://hexdocs.pm/mirage).\n\n[Rust]: https://www.rust-lang.org/\n[NIF]: http://erlang.org/doc/man/erl_nif.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrogson%2Fmirage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrogson%2Fmirage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrogson%2Fmirage/lists"}