Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neopallium/bevy_jpeg2k
Bevy asset loader for JPEG 2000
https://github.com/neopallium/bevy_jpeg2k
Last synced: about 1 month ago
JSON representation
Bevy asset loader for JPEG 2000
- Host: GitHub
- URL: https://github.com/neopallium/bevy_jpeg2k
- Owner: Neopallium
- License: apache-2.0
- Created: 2022-01-09T10:04:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-06T13:17:39.000Z (5 months ago)
- Last Synced: 2024-09-26T07:04:10.904Z (about 2 months ago)
- Language: Rust
- Size: 156 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bevy_jpeg2k
JPEG 2000 image loader for [Bevy](https://bevyengine.org/).
# Versions
- Bevy 0.14: `bevy_jpeg2k = "0.14"`
- Bevy 0.13: `bevy_jpeg2k = "0.13"`
- Bevy 0.12: `bevy_jpeg2k = "0.12"`
- Bevy 0.11: `bevy_jpeg2k = "0.11"`
- Bevy 0.10: `bevy_jpeg2k = "0.10"`
- Bevy 0.9: `bevy_jpeg2k = "0.9"`
- Bevy 0.8: `bevy_jpeg2k = "0.8"`
- Bevy 0.7: `bevy_jpeg2k = "0.7"`
- Bevy 0.6: `bevy_jpeg2k = "0.6"`
- Bevy 0.5: `bevy_jpeg2k = "0.5"`# Example
```rust
use bevy::prelude::*;use bevy_jpeg2k::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins)// Load the Jpeg 2000 asset loader plugin.
.add_plugins(Jpeg2KPlugin).add_systems(Startup, setup)
.run();
}fn setup(
asset_server: Res,
) {
// Load j2k, jp2, j2c, images.
let image_handle: Handle = asset_server.load("example.j2k");
//
}```