jhgjeraker / rnc-color-stretch

Python adaptation of Roger N. Clark's image stretching software.
GNU General Public License v3.0
8 stars 2 forks source link

--colorenhance problem #3

Closed t0ffi closed 4 months ago

t0ffi commented 4 months ago

Hi, Thank for for converting this script to python.

I have one issue, when tried to set --colorenhance parameter it only accepts integer. When set for example 1.2 I received:

main.py: error: argument --colorenhance: invalid int value: '1.2'

Maybe was doing something wrongly.

t0ffi commented 4 months ago

Changed --colorenhance to float and now it is working

jhgjeraker commented 4 months ago

I just checked the original Davinci script and you are correct, colorenhance should be a float, not int. Good catch. I'll fix this.