Skip to main content
7 events
when toggle format what by license comment
Aug 21, 2023 at 20:30 answer added user30184 timeline score: 0
Aug 4, 2023 at 17:36 comment added user30184 I do not see any colors in the output from the code which makes me think if something fails also with handling the R, G, and B bands separately.
Aug 4, 2023 at 13:56 history edited addcolor CC BY-SA 4.0
added 180 characters in body
Aug 4, 2023 at 13:05 comment added Vince It is certainly the expectation that transforming a dataset with 65536 potential discrete values per band to one with only 256 will have data quality implications. Straight scaling is probably the wrong approach if you want to preserve contrast.
Aug 4, 2023 at 12:56 comment added Vincé maybe totally irrelevant, but could it also be an issue only of how data is displayed in qgis rather than an issue with conversion? Could it be that you still need to adjust our min-max values in the symbology pane of the 8-Bit output-data rather than using those of the 16-bit image?
Aug 4, 2023 at 12:50 comment added user30184 Does the source data have nodata value set? If you print the min_values/max_values, do they show reasonable values?
Aug 4, 2023 at 12:28 history asked addcolor CC BY-SA 4.0