In a winforms application is there any way to draw directly to the pixel buffer/byte array for the window?
I have a bytearray with an image in the format byte[] myimg = new byte[width x height x 4] for an ARGB bitmap, now i want to display it in the form, the only way i know of is first to make a bitmap, then use lockbits to write my pixels into the bitmap, then i set a picturebox.image to my bitmap instance. But i want to skip this step and write directly to the form, if possible without even a picturebox, is this possible?