{"id":21985556,"url":"https://github.com/ickshonpe/bevy_image_config","last_synced_at":"2026-05-02T10:33:29.212Z","repository":{"id":61260648,"uuid":"549542847","full_name":"ickshonpe/bevy_image_config","owner":"ickshonpe","description":"Bevy plugin that loads and applies image settings automatically if they have an accompanying configuration file.","archived":false,"fork":false,"pushed_at":"2022-10-12T12:22:19.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T22:51:16.736Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ickshonpe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-11T10:50:02.000Z","updated_at":"2022-10-11T10:50:48.000Z","dependencies_parsed_at":"2022-10-13T19:53:02.522Z","dependency_job_id":null,"html_url":"https://github.com/ickshonpe/bevy_image_config","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/ickshonpe%2Fbevy_image_config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_image_config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_image_config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_image_config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ickshonpe","download_url":"https://codeload.github.com/ickshonpe/bevy_image_config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245044583,"owners_count":20551902,"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-11-29T18:14:02.525Z","updated_at":"2026-05-02T10:33:29.166Z","avatar_url":"https://github.com/ickshonpe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bevy_image_config\n\n[![crates.io](https://img.shields.io/crates/v/bevy_image_config)](https://crates.io/crates/bevy_image_config)\n[![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](https://github.com/ickshonpe/bevy_image_config)\n[![crates.io](https://img.shields.io/crates/d/bevy_image_config)](https://crates.io/crates/bevy_image_config)\n\nBevy plugin that automatically loads and applies image sampler settings for image assets from an accompanying configuration file.\n\n## Usage\n\nAdd the dependency to `Cargo.toml`:\n\n```toml\nbevy_image_config = \"0.2\"\n```\n\nAdd the plugin to your app:\n\n```rust\nfn main() {\n    App::new()\n        .add_plugins(DefaultPlugins)\n        .add_plugin(bevy_image_config::ImageConfigPlugin)\n        // ..rest of app\n        .run()\n}\n```\nIf you have an image file \"image_file_name.img_ext\" and a configuration file \"image_file_name.img_cfg\" in the same directory, the plugin will automatically load and apply the settings from \"image_file_name.img_cfg.ron\" when you load \"image_file_name.img_ext\".\n\nThe available settings are:\n\n* address_mode_u, address_mode_v, address_mode_w:\n    ```\n    ClampToEdge | Repeat | MirrorRepeat | ClampToBorder\n    ```\n* min_filter, mag_filter, mipmap_filter: \n    ``` \n    Nearest | Linear \n    ```\n* lod_min_clamp: `f32`,\n* lod_max_clamp: `f32`,\n* compare:\n    ```\n    Option of Never | Less | Equal | LessEqual | Greater | NotEqual | GreaterEqual | Always\n    ```\n* anisotropy_clamp: `Option\u003cNonZeroU8\u003e`,\n* border_color: \n    ```\n    Option of TransparentBlack | OpaqueBlack | OpaqueWhite | Zero\n    ```\n\n## Examples\n\n```\ncargo run --example example\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickshonpe%2Fbevy_image_config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fickshonpe%2Fbevy_image_config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickshonpe%2Fbevy_image_config/lists"}