Tom94 / tev

High dynamic range (HDR) image viewer for graphics people
BSD 3-Clause "New" or "Revised" License
1.02k stars 86 forks source link

Misleading documentation of UpdateImage in python lib. #184

Closed Tomas-kubicek closed 2 years ago

Tomas-kubicek commented 2 years ago

HI, the comment """ Updates the pixel values of a specified image region and a specified set of channels. The image parameter must be laid out in row-major format, i.e. from most to least significant: [col][row][channel], where the channel axis is optional. """ in the update funtion is wrong. Row major ordering is [row][col][channel]

Tom94 commented 2 years ago

Good catch, thank you! Fixed on master.