revpe_dwicombine: Embed gradient table in output image (if possible)