Basic RLE encoding of HDR picture is ready. Not optimal, but working