Numpy Variable Length Coding In Digital Image