Ticket #3977 (closed defect: fixed)
Incorrect scaling of complex data
|Reported by:||antonio||Owned by:||rouault|
Raster bands having complex data type are incorrectly scaled if one use a VRT file with a complex source (even if the ScaleRatio is 1).
The ScaleRatio is applied only to the real part, while the imaginary part is always set to zero.
The problem as been verified o versions 1.6.3 and 1.7.3 on GNU/Linux x86_64 platforms.
Attached a test program to reproduce the issue.