mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 08:26:28 +00:00
group3_tiff_rgba decodes each strip or tile with craft_stream_codecs::decode_ccitt_raw instead of hayro-ccitt; the error messages stay as they were. vectorcraft-engine's group3_reference test keeps the hayro-ccitt reader as the reference: over 190 Group 3 TIFFs and 5,500 cut or edited copies the pixels and refusals match, except that a strip or tile wider than MAX_CCITT_COLUMNS (2^20) is refused as an overflow where hayro-ccitt ran out of data. Needs craft-libs#1772.
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "vectorcraft-doc"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "VectorCraft document model: artboards, layers, objects, appearance (pure data + serde)"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# `vectorcraft_doc::blend::spines_built` for other crates' tests (dev-dependencies only).
|
|
spine-count = []
|
|
|
|
[dependencies]
|
|
vectorcraft-geom = { workspace = true }
|
|
vectorcraft-color = { workspace = true }
|
|
kurbo = { workspace = true }
|
|
image = { workspace = true }
|
|
# Image headers (PNG and JPEG sizes, `pixels::header_size`) and CMYK JPEG inks (`cmyk`).
|
|
craft-image-codecs = { workspace = true }
|
|
tiff = { workspace = true }
|
|
# 1-bit TIFFs compressed with CCITT Group 3 (Compression 2 and 3).
|
|
craft-stream-codecs = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
chrono = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
# The CMYK JPEG reader `cmyk` had before craft-image-codecs, kept as the reference its inks match.
|
|
zune-jpeg = { workspace = true }
|
|
jpeg-encoder = { workspace = true }
|
|
proptest = { workspace = true }
|