# BitmapExtensions class

Namespace: [Rhino](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public static class BitmapExtensions
```

Rhino specific extension methods for System.Drawing.Bitmap

## Methods

- [BitmapAsTextureFileReference](https://developer.rhino3d.com/api/rhinocommon/type/rhino.bitmapextensions/bitmapastexturefilereference.md): (static) Inserts bitmap into Rhino's texture manager and returns a FileReference.
- [ConvertToNormalMap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.bitmapextensions/converttonormalmap.md): (static) Use this function to convert a System.Drawing.Bitmap from a bump to a normal texture
- [IsNormalMap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.bitmapextensions/isnormalmap.md): (static) Call this method to see if the DIB appears to be a normal map.
