First, much congrats for this project.
But... I decided to improve the designer suport of the controls (well, my customer decided this).
Then, I want to create a property Image in the AlphaPictureBox that work like the standart image (property of type System.Drawing.Image).
Now I need a way to convert the System.Drawing.Image to PlataformAPI.IImage or AlphaImage class.
I tried something like this:
var stream = new MemoryStream();
var alphaImage = AlphaImage.CreateFromStream(stream);
The code runned, but the alpha channel was lost (image displayed with a white background).
I tried too much others ways, but all didn't worked.
Anybody have other ideas to convert Image (or Bitmap) to IImage or AlphaImage without losing the alpha channel?
Thanks in advance!