return toolkit.createImage(new MemoryImageSource(rawWidth, rawHeight, oneDPixMod, 0, rawWidth));
anyone knows how to show that image using panel or label maybe? do i need to use class Graphic, like g.drawImage()?
thks for the answer
return toolkit.createImage(new MemoryImageSource(rawWidth, rawHeight, oneDPixMod, 0, rawWidth));
anyone knows how to show that image using panel or label maybe? do i need to use class Graphic, like g.drawImage()?
thks for the answer
Assuming you have a form with a PictureBox, just set the PictureBox's Image property to the return value from toolkit.CreateImage():
pictureBox1.Image = toolkit.CreateImage(...);