GMImage.Normalize
-----------------

Normalize image (increase contrast by normalizing the pixel values to span the full range of color values)

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [2.0](newinversion20.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.Normalize"; ImageRef ) 

**MBS**( **"GMImage.Normalize";** /\* Normalize image (increase contrast by normalizing the pixel values to span the full range of color values) \*/  
**$ImageRef**) /\* The image reference number.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |

### Result

Returns "OK" on success.

### Description

Normalize image (increase contrast by normalizing the pixel values to span the full range of color values)  
### See also

- [GMImage.Compare](GMImageCompare.md)
- [GMImage.Equalize](GMImageEqualize.md)
- [GMImage.NormalizedMaxError](GMImageNormalizedMaxError.md)
- [GMImage.Solarize](GMImageSolarize.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[GMImage.NewImagesFromFile](GMImageNewImagesFromFile.md) - [GMImage.NormalizedMaxError](GMImageNormalizedMaxError.md)

[HTML Version](GMImageNormalize.shtml)