.net maui c# write bits of a byte[] to an image

Job ID: 36503238

Budget: £20 – £250 GBP

I want a simple .net maui c# application written as soon as possible.
It should take an array of bytes.. and write these to an image .. using SetPixel.
So each byte of the array has 8 pixels .. 1 per bit.. so this should create a black and white image.
The width and height to use for the image should also be passed.