Skip to content

Commit

Permalink
Merge pull request #135 from geotiffjs/n-bit-support
Browse files Browse the repository at this point in the history
n bit support
  • Loading branch information
constantinius authored Mar 24, 2021
2 parents 897b32c + ee9fe9e commit b47771d
Show file tree
Hide file tree
Showing 8 changed files with 12,753 additions and 182 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Currently available functionality:
* pixel interleaved images
* Supported data-types:
* (U)Int8/16/32
* Float32/64
* UInt1-31 (with some drawbacks)
* Float16/32/64
* Enabled compressions:
* no compression
* Packbits
Expand Down Expand Up @@ -372,6 +373,7 @@ const multiTiff = await fromUrls(
```

### Writing GeoTIFFs (Beta Version)

You can create a binary representation of a GeoTIFF using `writeArrayBuffer`.
This function returns an ArrayBuffer which you can then save as a .tif file.
:warning: writeArrayBuffer currently writes the values uncompressed
Expand Down Expand Up @@ -446,12 +448,23 @@ a reasonable support, the following is implemented:
cause problems for some compression algorithms if those arrays are used for
pixel values.

## n-bit Support

geotiff.js has some n-bit support which means that it supports unsigned integer
data reading with each element using a non-multiple of 8 bit depth. This only
works with band interleaved images (see
[this related issue](https://github.com/geotiffjs/geotiff.js/issues/202)).

## Planned stuff:

* Better support of geospatial parameters:
* Parsing of EPSG identifiers
* WKT representation

## Known Issues

The open issues can be found on [GitHub](https://github.com/geotiffjs/geotiff.js/issues).

## Contribution

If you have an idea, found a bug or have a remark, please open a ticket, we will
Expand All @@ -460,6 +473,7 @@ look into it ASAP.
Pull requests are welcome as well!

## Community Packages

A list of community packages can be found in [COMMUNITY.md](COMMUNITY.md)

## Acknowledgements
Expand Down
Loading

0 comments on commit b47771d

Please sign in to comment.