diff options
Diffstat (limited to 'server/src/routes')
-rw-r--r-- | server/src/routes/ui/assets.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/routes/ui/assets.rs b/server/src/routes/ui/assets.rs index 36d6ee3..ef73fcc 100644 --- a/server/src/routes/ui/assets.rs +++ b/server/src/routes/ui/assets.rs @@ -33,6 +33,7 @@ pub async fn r_asset( // fit the resolution into a finite set so the maximum cache is finite too. let width = 2usize.pow(width.unwrap_or(2048).clamp(128, 2048).ilog2()); + // TODO configure avif quality and speed. let path = jellytranscoder::image::transcode(source, 50., 5, width) .await .context("transcoding asset")?; |