Color stretch with GPT

Hello folks,
I want to set the color stretch to 100%. There is an way with the “100% button” in the color manipulation tool in SNAPs UI but I can’t find a way to do the same via GPT. Any suggestions to avoid the relative stretch?


Hi, no this is not possible with GPT, because the colour stretching is part of the display and only done when the image is shown.
Even if you set the 100% stretch images from two different scenes might look different because there min and max value might be different.
For RGB images there is an entry in the FAQ.
Why are RGB images differently colorised and not comparable?
This can be used with pconvert on the command line also for single bands.
In the desktop you need to click for a single band on the 100% button or specify the min/max values.