please add a comment that `w,h` are written to, if there is valid data.