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 filePackageCrate
formats/jpeg.dylibkinogaki.jpegkinogaki-plugin-jpeg

Crates

CrateWhat it isFilesLinesTest lines
kinogaki-jpeg-formatJPEG, a format plugin: a JPEG reads as one standard Image as the file holds it, and an Image writes as one baseline JPEG.174,310899
kinogaki-plugin-jpegJPEG as a Studio plugin library (formats/jpeg.dylib).150

Uses

CrateRepositoryAsWhat it is
kinogaki-imagelib-imagenormalThe owned image every lib-image format decodes to and encodes from.
kinogaki-sharedCore and the appnormalThe crates Studio and its plugins share, built once as a Rust dylib.
kinogaki-studio-apiSDKnormalKinogaki Studio's headless plugin API.

For its tests alone

CrateRepositoryAsWhat it is
kinogaki-pnglib-imagetestsPNG images (ISO/IEC 15948, W3C PNG Third Edition) over kinogaki_deflate.
kinogaki-studio-api-testingSDKtestsThe 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.