mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-13 01:11:11 +00:00
Each export setting has a color profile: Same as file (the default, the document's profile when it exports), sRGB or Display P3. PNG, JPG and WebP settings list it in their advanced settings, and export.add, export.update, file.export, file.exportLayers (for every setting) and the MCP export tool take it as colorProfile. The rendered pixels are converted to the chosen profile (out-of-gamut colors clip) and the file is tagged as before: an sRGB chunk for sRGB PNG, the generated ICC profile (and cICP in PNG) for Display P3; sRGB JPG and WebP stay untagged. A setting keeps its choice when its format changes, and settings saved without one read as Same as file. SVG, PDF and Android XML show no choice and stay sRGB; PDF has no output intent yet.
31 lines
1.3 KiB
Rust
31 lines
1.3 KiB
Rust
//! The crate's integration tests, built as one test binary.
|
|
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod agent_comments;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod agent_tasks;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod attached;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::disallowed_methods)]
|
|
mod automation_roots;
|
|
#[allow(dead_code, clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod common;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod export_hidden_roots;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod export_profile;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod export_xml;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod garbage;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod inspect_fields;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod inspect_response_limit;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod overlay_anchor;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod protocol;
|
|
#[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
|
mod screenshot_pixel_limit;
|