Skip to content

Commit

Permalink
Merge pull request image-rs#1737 from alexwlchan/patch-1
Browse files Browse the repository at this point in the history
docs: Specify the width/height order from image_dimensions
  • Loading branch information
HeroicKatora committed Jun 30, 2022
2 parents 144ea59 + 3ffce9a commit 04052e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynimage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ where
free_functions::open_impl(path.as_ref())
}

/// Read the dimensions of the image located at the specified path.
/// Read a tuple containing the (width, height) of the image located at the specified path.
/// This is faster than fully loading the image and then getting its dimensions.
///
/// Try [`io::Reader`] for more advanced uses, including guessing the format based on the file's
Expand Down

0 comments on commit 04052e6

Please sign in to comment.