diff --git a/doc/go1.9.html b/doc/go1.9.html index 60d5760314..164715c65b 100644 --- a/doc/go1.9.html +++ b/doc/go1.9.html @@ -364,7 +364,11 @@ type T1 = T2
- TODO: https://golang.org/cl/36734: fix the overlap check in Rectangle.Intersect.
+ The Rectangle.Intersect
+ method now returns a zero Rectangle
when called on
+ adjacent but non-overlapping rectangles, as documented. In
+ earlier releases it would incorrectly return an empty but
+ non-zero Rectangle
.
- TODO: https://golang.org/cl/36732: tweak the YCbCr to RGBA conversion formula again. + The YCbCr to RGBA conversion formula has been tweaked to ensure + that rounding adjustments span the complete [0, 0xffff] RGBA + range.
- TODO: https://golang.org/cl/34150: reduce memory allocs encoding images by reusing buffers
+ The new Encoder.BufferPool
+ field allows specifying an EncoderBufferPool
,
+ that will be used by the encoder to get temporary EncoderBuffer
+ buffers when encoding a PNG image.
+
+ The use of a BufferPool
reduces the number of
+ memory allocations performed while encoding multiple images.
- TODO: https://golang.org/cl/38271: decode Gray8 transparent images. + The package now supports the decoding of transparent 8-bit + grayscale ("Gray8") images.