wm4 <nfxjfg <at> googlemail.com> writes: > GRAY12 would be something different from GRAY16 with > bits_per_raw_sample set. The former sets MSBs to zero, > the latter zeros LSBs. It should not zero them, white should not be gray. (But there is of course no difference between the two.) Carl Eugen