mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-30 21:16:52 -06:00
Problem: the Media Browser lists .tga and .hdr files (and groups them into image sequences), but media::is_importable had neither extension and the still decoder never tried them, so importing them failed. Fix: enable the image crate's built-in tga and hdr decoders (no new dependency), add both to STILL_EXTENSIONS and the File > Import dialog, and pick a still's format by signature with an extension fallback, since Targa has no signature. Radiance HDR is linear float light and is sRGB-encoded like OpenEXR (super-white kept); Targa alpha goes through the existing unlabeled-alpha interpretation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
1.1 KiB
TOML
33 lines
1.1 KiB
TOML
[package]
|
|
name = "effectcraft-media"
|
|
description = "Footage import: probing, stills, image sequences, video and audio via FilmCraft's pure-Rust codecs, memory-budgeted frame cache"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
effectcraft-time = { workspace = true }
|
|
effectcraft-project = { workspace = true }
|
|
effectcraft-raster = { workspace = true }
|
|
effectcraft-render = { workspace = true }
|
|
effectcraft-psd = { workspace = true }
|
|
effectcraft-svg = { workspace = true }
|
|
effectcraft-pdf = { workspace = true }
|
|
effectcraft-model = { workspace = true }
|
|
filmcraft-codecs = { workspace = true }
|
|
filmcraft-media = { workspace = true }
|
|
filmcraft-frame = { workspace = true }
|
|
filmcraft-color = { workspace = true }
|
|
filmcraft-time = { workspace = true }
|
|
exr = { workspace = true }
|
|
gif = { workspace = true }
|
|
image = { workspace = true, features = ["gif", "webp", "tiff", "bmp", "exr", "tga", "hdr"] }
|
|
rayon = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|