From 8addde71b481919292c2a09514b118ba95777262 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Sun, 19 Nov 2023 18:48:19 +0100 Subject: [PATCH] Docs --- ctru-rs/src/services/cam.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ctru-rs/src/services/cam.rs b/ctru-rs/src/services/cam.rs index e571aaa..33a0753 100644 --- a/ctru-rs/src/services/cam.rs +++ b/ctru-rs/src/services/cam.rs @@ -669,6 +669,11 @@ pub trait Camera: private::ConfigurableCamera { /// Set trimming bounds to trim the camera photo. /// + /// # Notes + /// + /// The trimmed image must have a pixel area of (`width * height`) multiple of 128. + /// If not, a raw `libctru` error may be returned. + /// /// # Panics /// /// Setting up a [`Trimming`] configurations that exceeds the bounds of the original