Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Meziu committed Nov 19, 2023
1 parent 3e28613 commit 8addde7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ctru-rs/src/services/cam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8addde7

Please sign in to comment.