I currently grab an image from an embedded resource using
VB Code:
  1. Dim WImage As Image = New Bitmap(Me.GetType(), "myimage.png")
but the result is poor compared to the original png. The conversion to a bitmap seems to dramatically lower the quality since any white space in the image gets filled with a different color. I tried improving the PixelFormat, but it does not have much effect. Is there a way I can get the image directly, rather than having to go through a bitmap?