Ranger provides an INI option that you can use to set the preference on
UV image type. The option is located in a file called CapiOptions.ini.
Here's the option that you can change:
- [Image.UV]
- // COMPRESSIONTYPE
- // 9 = CCITT Group 4 Ultraviolet
- // 10 = CCITT Group 4 Ultraviolet Inverted
- // 11 = JPEG Ultraviolet
- // 12 = JPEG Ultraviolet Inverted
- // The default is 10.
- COMPRESSIONTYPE=10
In the following example we will set the option to 12 for "JPEG Ultraviolet Inverted".
You can set this value by calling Ranger.SetDriverOption("Image.UV", "COMPRESSIONTYPE", "12");
Ranger reads this option's value when you call Ranger.EnableOptions().