mojodna / marblecutter-virtual

Virtual catalogs for marblecutter
Other
48 stars 30 forks source link

Tiles colors wrong when COG is not Byte #20

Open Zaitsev opened 4 years ago

Zaitsev commented 4 years ago

When COG is float or Int16 tiles becomes wrong-colored(exposition?)

image

adrienDog commented 3 years ago

Hi, Im having similar issues with 4 band geotiffs, NIR, RGB with uint16 values. did you manage to solve this issue? that would help me a lot thank you

Zaitsev commented 3 years ago

Nope. with float bands its like this. converting to uint8 byte helps

adrienDog commented 3 years ago

ah okay, thanks a lot for replying so fast :) what do you use to convert to uint8 ? doing a simple ratio makes the image very dark for me