File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -360,8 +360,7 @@ YCbCr, and CIE L*a*b.
360
360
361
361
geotiff.js provides a method to automatically convert these images to RGB:
362
362
` readRGB() ` . This method is very similar to the ` readRasters ` method with
363
- distinction that the ` interleave ` option is now always ` true ` and the
364
- ` samples ` are automatically chosen.
363
+ distinction the ` samples ` are automatically chosen.
365
364
366
365
``` javascript
367
366
const rgb = await image .readRGB ({
Original file line number Diff line number Diff line change @@ -615,8 +615,7 @@ class GeoTIFFImage {
615
615
}
616
616
617
617
/**
618
- * Reads raster data from the image as RGB. The result is always an
619
- * interleaved typed array.
618
+ * Reads raster data from the image as RGB.
620
619
* Colorspaces other than RGB will be transformed to RGB, color maps expanded.
621
620
* When no other method is applicable, the first sample is used to produce a
622
621
* grayscale image.
You can’t perform that action at this time.
0 commit comments