Plugin
JPEG
JPEG
JPEG as a format plugin for Kinogaki Studio: a JPEG reads as one standard Image of the public studio-sdk, and an Image writes as one baseline JPEG. The codec is this crate's own, src/jpeg/ (docs/CODEC.md): baseline and progressive decoding, baseline encoding, ICC profiles, its parallel steps on the process's workers. The format converts no color: the host resolves what a file says of its colors.
The library crate is kinogaki-jpeg-format; plugin/ (kinogaki-plugin-jpeg) is the dylib Studio loads, formats/jpeg.dylib. Package kinogaki.jpeg, format kinogaki.format.jpeg (.jpg, .jpeg).
- GitHub
- kinogaki/plugin-jpeg
- Folder
plugins/jpeg/- Crates
- 2
- Rust lines
- 4,315 in src, 899 in tests
What it ships
| Plugin file | Package | Crate |
|---|---|---|
formats/jpeg.dylib | kinogaki.jpeg | kinogaki-plugin-jpeg |
Crates
| Crate | What it is | Files | Lines | Test lines |
|---|---|---|---|---|
kinogaki-jpeg-format | JPEG, a format plugin: a JPEG reads as one standard Image as the file holds it, and an Image writes as one baseline JPEG. | 17 | 4,310 | 899 |
kinogaki-plugin-jpeg | JPEG as a Studio plugin library (formats/jpeg.dylib). | 1 | 5 | 0 |
Uses
| Crate | Repository | As | What it is |
|---|---|---|---|
kinogaki-image | lib-image | normal | The owned image every lib-image format decodes to and encodes from. |
kinogaki-shared | Core and the app | normal | The crates Studio and its plugins share, built once as a Rust dylib. |
kinogaki-studio-api | SDK | normal | Kinogaki Studio's headless plugin API. |
For its tests alone
| Crate | Repository | As | What it is |
|---|---|---|---|
kinogaki-png | lib-image | tests | PNG images (ISO/IEC 15948, W3C PNG Third Edition) over kinogaki_deflate. |
kinogaki-studio-api-testing | SDK | tests | The SDK's test support (a dev-dependency only): assert_refused for admission tests, read_hostile for a format's tests of hostile files, format for its scratch folders and round trips, workers as a host installs them, with wgpu an ... |
Third-party
None.
