mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-28 03:57:57 -06:00
DNG compression 34892: each tile / strip is a baseline JPEG of 8-bit samples (decoded with zune-jpeg, pure Rust), then the usual linearization table, levels and crop apply. Per the DNG specification. Lossy DNGs (Smart Previews, "lossy compression" DNG exports, many phone DNGs) now open as raw files instead of falling back to their embedded preview. Unit test with synthetic JPEG tiles (edge tile cut short); the corpus sample decodes (5760×3840 in 144 ms). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
708 B
TOML
27 lines
708 B
TOML
[package]
|
|
name = "lightcraft-raw"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "LightCraft RAW decoding, demosaicing and DNG colour model (L1)"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
lightcraft-tiff = { workspace = true }
|
|
lightcraft-meta = { workspace = true }
|
|
lightcraft-raster = { workspace = true }
|
|
lightcraft-color = { workspace = true }
|
|
lightcraft-geom = { workspace = true }
|
|
serde = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
rayon = { workspace = true }
|
|
miniz_oxide = { workspace = true }
|
|
zune-jpeg = { workspace = true }
|
|
zune-core = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
jpeg-encoder = { workspace = true }
|
|
proptest = { workspace = true }
|