# GeoTif displays very dark

**URL:** <https://community.thinkgeo.com/t/geotif-displays-very-dark/9991>\
**Category:** WinForms\
**Created:** [January 13, 2021, 7:25pm UTC](https://community.thinkgeo.com/t/geotif-displays-very-dark/9991 "2021-01-13T19:25:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven1](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/steven1/32/26943_2.png) [@Steven1](https://community.thinkgeo.com/u/Steven1)\
**Post date:** [January 13, 2021, 7:25pm UTC](https://community.thinkgeo.com/t/geotif-displays-very-dark/9991/1 "2021-01-13T19:25:05Z")

</div>

Hi,

We are having trouble with some of our new GeoTiffs. They appear OK when viewed in ArcMap but are too dark in out ThinkGeo based application.

 ![ImageComparison](https://community.thinkgeo.com/uploads/default/original/3X/c/a/cad90618c508c575f19a8bfe1de9459f15779f19.jpeg)

I have attached a screenshot so you can see the difference. The darker one is from our ThinkGeo application and the lighter one comes from ArcMap. Is there a way to make it display lighter in ThinkGeo? I can send the original file if necessary, but it’s very large.

Thanks!

Steve

---

<div class="post-metadata">

**Author:** ![Frank4](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/frank4/32/25224_2.png) [@Frank4](https://community.thinkgeo.com/u/Frank4)\
**Post date:** [January 14, 2021, 5:37pm UTC](https://community.thinkgeo.com/t/geotif-displays-very-dark/9991/2 "2021-01-14T17:37:24Z")

</div>

Thanks Steven,  
Yes. We do support add bright to the geotiff layer  
geoTiffRasterLayer.GreenTranslation = 100;  
geoTiffRasterLayer.RedTranslation = 100;  
geoTiffRasterLayer.BlueTranslation = 100;

 ![image](https://community.thinkgeo.com/uploads/default/original/3X/0/c/0cd45f8d71b0083142403419395845b5288b0f28.jpeg)

Thanks

Frank

---

<div class="post-metadata">

**Author:** ![Steven1](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/steven1/32/26943_2.png) [@Steven1](https://community.thinkgeo.com/u/Steven1)\
**Post date:** [January 14, 2021, 7:28pm UTC](https://community.thinkgeo.com/t/geotif-displays-very-dark/9991/3 "2021-01-14T19:28:52Z")

</div>

Frank,

Thanks so much for the tip! What are the valid values of Red/Green/Blue translation? How do they all work together? Is it the higher the number the lighter the color or the other way around?

Thanks!

Steve

---

<div class="post-metadata">

**Author:** ![Frank4](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/frank4/32/25224_2.png) [@Frank4](https://community.thinkgeo.com/u/Frank4)\
**Post date:** [January 14, 2021, 8:50pm UTC](https://community.thinkgeo.com/t/geotif-displays-very-dark/9991/4 "2021-01-14T20:50:43Z")

</div>

Yes Steven,  
Base on this document.  
[https://www.graphicsmill.com/docs/gm/brightness-and-contrast.htm](https://www.graphicsmill.com/docs/gm/brightness-and-contrast.htm)

_Bitmap brightness_ is the degree of pixel intensity. For brevity let’s assume that we are working with a grayscale bitmap. If most pixels of this bitmap have small values (e.g. close to 0), the bitmap is called _dark_ . Vice versa, if most pixels have large values (e.g. close to the maximum value - 255 for 8-bit images, and 65355 for 16-bit images), the bitmap is called _bright_ .

I tested the validate value should be 0 to 255. You can add 3 trackbars to your UI and bind the value with the Red/Green/Blue translation and play with different value until get the best result.

Thanks

Frank
