Skip to content

Commit 7f44147

Browse files
authored
Merge pull request #2685 from Lanzaa/doc_ImageDecoderRect
Document removal of ImageDecoderRect
2 parents b2cf757 + f4e8372 commit 7f44147

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66

77
## Changes
88

9+
### Version Next
10+
11+
Breaking Changes:
12+
- Trait `ImageDecoderRect` has been removed (#2355, #2681)
13+
914
### Version 0.25.9
1015

1116
Features:

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,10 @@ The coordinates given set the position of the top left corner of the rectangle.
8585
This is used to perform image processing functions on a subregion of an image.
8686

8787

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
8989

9090
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.
9492

9593
The most important methods for decoders are...
9694
+ **dimensions**: Return a tuple containing the width and height of the image.

0 commit comments

Comments
 (0)