hongfaqiu / TIFFImageryProvider

Load GeoTIFF/COG(Cloud optimized GeoTIFF) on Cesium
https://tiff-imagery-provider.opendde.com/?panel=layer
MIT License
52 stars 10 forks source link

Inverted colors when rendering RGB Raster #2

Closed ilyaly closed 1 year ago

ilyaly commented 1 year ago

Example of RGB raster rendering in COG Explorer:

image

Example of rendering with default parameters via TIFFImageryProvider:

image

P.S. Setting Chrome to 3.0 makes the look better, but still far from true colors.

hongfaqiu commented 1 year ago

Thank you for your issue, I'll fix it in this week.

hongfaqiu commented 1 year ago

Fixed yet in v2.2.0, now add multi band tiff will first try rgb mode. image Additional, you can set minimumLevel to higher level to get more clearly image image

hongfaqiu commented 1 year ago

There are still black areas present currently. If it's necessary to remove these black areas, I will add an optional exclusion parameter.

ilyaly commented 1 year ago

Thank you!

You are really doing a great job that is very valuable for the community. As Cesium is moving very slow in everything excepting 3D Tiles you are the hero we need!

hongfaqiu commented 1 year ago

Thank you for your kind words. I have only done some insignificant work with the strong support of Cesium, and I hope that it can be helpful to everyone.