Scaler.prototype.encodeValue = function (value) {

    var bitDepth = this.getHeaderChunk().getBitDepth(),
        result = null;