v7 -distort changes gamma
Posted: 2016-06-12T14:10:54-07:00
Initially reported in thread viewtopic.php?f=1&t=29895
In v7.0.1-4 (Windows 8.1), all the "-distort" options change the gamma to 0.4545 (without changing the pixel values).
For example:
"findstr" is a Microsoft version of grep.
This problem did not occur in v6.9.2-5.
In v7.0.1-4 (Windows 8.1), all the "-distort" options change the gamma to 0.4545 (without changing the pixel values).
For example:
Code: Select all
f:\web\im>%IMG7%magick -size 1x100 gradient: -grayscale Rec709Luminance -verbose +write info: -distort Barrel "0,0,1" -verbose info: |findstr Gamma
Gamma: 1
Gamma: 0.454545
f:\web\im>%IMG7%magick -size 1x100 gradient: -grayscale Rec709Luminance -verbose +write info: -distort Shepards "0,0,1,1" -verbose info: |findstr Gamma
Gamma: 1
Gamma: 0.454545
f:\web\im>%IMG7%magick -size 1x100 gradient: -grayscale Rec709Luminance -verbose +write info: -distort SRT "1,0" -verbose info: |findstr Gamma
Gamma: 1
Gamma: 0.454545
This problem did not occur in v6.9.2-5.