Skip to main content

fraiseql_storage/transforms/
mod.rs

1//! Image transformation and caching module.
2//!
3//! Provides on-the-fly image resizing, format conversion, and caching capabilities
4//! when the `transforms` feature is enabled.
5
6#[cfg(feature = "transforms")]
7pub mod cache;
8#[cfg(feature = "transforms")]
9pub mod transformer;
10
11#[cfg(test)]
12mod tests;
13
14/// Re-export for convenience when transforms feature is enabled
15#[cfg(feature = "transforms")]
16pub use cache::TransformCache;
17#[cfg(feature = "transforms")]
18pub use transformer::{ImageTransformer, OutputFormat, TransformOutput, TransformParams};