# Cvb .NET Mono \> 8 bit data

**URL:** <https://forum.commonvisionblox.com/t/cvb-net-mono-8-bit-data/1798>\
**Category:** .Net API\
**Created:** [September 21, 2022, 9:36am UTC](https://forum.commonvisionblox.com/t/cvb-net-mono-8-bit-data/1798 "2022-09-21T09:36:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BitSmith](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/bitsmith/32/1093_2.png) [@BitSmith](https://forum.commonvisionblox.com/u/BitSmith)\
**Post date:** [September 21, 2022, 9:36am UTC](https://forum.commonvisionblox.com/t/cvb-net-mono-8-bit-data/1798/1 "2022-09-21T09:36:54Z")

</div>

I am acquiring images using discovery rather than going via the .ini file and .vin mechanism.

I am setting the camera to output Mono12 data, but the image stream is providing 8 bit images. Is there an equivalent to setting the PixelFormat setting in the INI file which determines the buffer format supplied to the application?

Many Thanks

---

<div class="post-metadata">

**Author:** ![MandanaS](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/mandanas/32/1211_2.png) [@MandanaS](https://forum.commonvisionblox.com/u/MandanaS)\
**Post date:** [September 22, 2022, 9:01am UTC](https://forum.commonvisionblox.com/t/cvb-net-mono-8-bit-data/1798/2 "2022-09-22T09:01:52Z")

</div>

@BitSmith

Yes it is possible to do so. You can set all the mentioned parameters in .ini file before opening the device as follows:

```auto
var devices = DeviceFactory.Discover(DiscoverFlags.IgnoreGevSD | DiscoverFlags.IgnoreVins);
devices[0].SetParameter("NumBuffer", "30");
var dev = (GenICamDevice)DeviceFactory.Open(devices[0], AcquisitionStack.GenTL);

```
