Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Converting byte[] into an Image object
#5
KajitiSouls Wrote:@ Kortestanov: How exactly would C# know that the image has alphas? Just tell it it's a PNG or something?

I'll get to tinkering around over the next few days.
The "Image" or "Bitmap" object automatically supports alpha (it's not a real alpha, though. You'll notice if you try working with clipboard and backgrounds). If the bytes you are supplying contain alpha information, it will automatically be parsed.
Reply


Messages In This Thread
Converting byte[] into an Image object - by Kortestanov - 2009-11-17, 03:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)