public void LinearScaleToStandardType(double min, double max) { double minFound, maxFound; FIBITMAP tmp_dib = FreeImage.LinearScaleToStandardType(this.Dib, min, max, out minFound, out maxFound); ReplaceDib(tmp_dib); this.SetGreyLevelPalette(); }