# ILockableImage interface

Namespace: [Eto.Drawing](https://eto.picoe.ca/api/namespace/eto.drawing.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public interface ILockableImage
```

Interface for an image that can have its data locked for direct access

**Derived types:** [Bitmap.IHandler](https://eto.picoe.ca/api/type/eto.drawing.bitmap.ihandler.md), [IndexedBitmap.IHandler](https://eto.picoe.ca/api/type/eto.drawing.indexedbitmap.ihandler.md)

## Methods

- [Lock](https://eto.picoe.ca/api/type/eto.drawing.ilockableimage/lock.md): Locks the data of the image to directly access the bytes of the image
- [Unlock](https://eto.picoe.ca/api/type/eto.drawing.ilockableimage/unlock.md): Unlocks the previously locked data
