You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,12 +85,10 @@ The coordinates given set the position of the top left corner of the rectangle.
85
85
This is used to perform image processing functions on a subregion of an image.
86
86
87
87
88
-
## The [`ImageDecoder`](https://docs.rs/image/*/image/trait.ImageDecoder.html)and [`ImageDecoderRect`](https://docs.rs/image/*/image/trait.ImageDecoderRect.html) Traits
88
+
## The [`ImageDecoder`](https://docs.rs/image/*/image/trait.ImageDecoder.html)Trait
89
89
90
90
All image format decoders implement the `ImageDecoder` trait which provide
91
-
basic methods for getting image metadata and decoding images. Some formats
92
-
additionally provide `ImageDecoderRect` implementations which allow for
93
-
decoding only part of an image at once.
91
+
basic methods for getting image metadata and decoding images.
94
92
95
93
The most important methods for decoders are...
96
94
+**dimensions**: Return a tuple containing the width and height of the image.
0 commit comments