{"id":18652920,"url":"https://github.com/elixir-nx/stb_image","last_synced_at":"2025-12-11T23:52:24.902Z","repository":{"id":37259116,"uuid":"445579177","full_name":"elixir-nx/stb_image","owner":"elixir-nx","description":"A tiny image library using stb_image as the backend","archived":false,"fork":false,"pushed_at":"2025-02-10T16:15:16.000Z","size":1832,"stargazers_count":46,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-29T00:12:41.863Z","etag":null,"topics":["elixir","image-decoder"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/elixir-nx.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-07T16:11:17.000Z","updated_at":"2025-02-10T16:15:16.000Z","dependencies_parsed_at":"2023-07-12T16:15:53.686Z","dependency_job_id":"306fcd87-17c9-44f2-9694-de7bb6417d5c","html_url":"https://github.com/elixir-nx/stb_image","commit_stats":{"total_commits":132,"total_committers":9,"mean_commits":"14.666666666666666","dds":0.7348484848484849,"last_synced_commit":"6e797c98cc3c21d7a4645233de9c6b67ec569ccd"},"previous_names":["cocoa-xu/img_decode"],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-nx%2Fstb_image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-nx%2Fstb_image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-nx%2Fstb_image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixir-nx%2Fstb_image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elixir-nx","download_url":"https://codeload.github.com/elixir-nx/stb_image/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271532,"owners_count":20911587,"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":["elixir","image-decoder"],"created_at":"2024-11-07T07:09:24.301Z","updated_at":"2025-12-11T23:52:24.859Z","avatar_url":"https://github.com/elixir-nx.png","language":"Elixir","readme":"# StbImage\n\n[![Hex.pm](https://img.shields.io/hexpm/v/stb_image.svg?style=flat\u0026color=blue)](https://hex.pm/packages/stb_image)\n\nA tiny image reader/writer library using [stb_image](https://github.com/nothings/stb/blob/master/stb_image.h) as the backend. [See the documentation](https://hexdocs.pm/stb_image).\n\nThere is an alternative library, [image_rs](https://github.com/cocoa-xu/image_rs), which uses [image_rs](https://github.com/image-rs/image) as the backend. That backend is implemented in Rust, so you will need a working Rust compiler. But the number of supported image formats is greater than `stb_image`.\n\n## Installation\n\nAdd `stb_image` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:stb_image, \"~\u003e 0.6\"}\n  ]\nend\n```\n\nThis library also provides some precompiled binaries for the following platforms:\n\n- macOS\n  - x86_64-apple-darwin\n  - aarch64-apple-darwin\n- Linux\n  - x86_64-linux-gnu\n  - x86_64-linux-musl\n  - aarch64-linux-gnu\n  - aarch64-linux-musl\n  - riscv64-linux-gnu\n  - riscv64-linux-musl\n- Windows\n  - x86_64-windows-msvc\n\n## License\n\n   Copyright 2022 Cocoa Xu\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felixir-nx%2Fstb_image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felixir-nx%2Fstb_image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felixir-nx%2Fstb_image/lists"}