Here is a library that I created a few months ago for loading Alpha transparent Images on the PPC.
It utilizes a Com component called IImagingfactory that was implemented in Windows Mobile 5.
So this will only work with WM5 or higher with .NET Compact Framework 2.0 or higher.
The methods of interest are DrawImage and ImageOnSection.
Images can be loaded from file, byte[] array, or an embedded resource.
GetImageSection will get a section of the back image that can be used with any control supporting images.
ImageSection is a reference to that image.
Images can be drawn in the foreground, allowing for dynamic replacement.
Background images should be loaded before any foreground otherwise some images will be lost.
An embedded image in a seperate Dll can be loaded with GetImageResource , for those that are able to do so.
DrawString is included which is able to draw text centered on the form, AlphaBlend is also included.
This is a a fully functional beta release that will likely change in the future.
Have Fun , and please post any Questions Comments or Requests.
It utilizes a Com component called IImagingfactory that was implemented in Windows Mobile 5.
So this will only work with WM5 or higher with .NET Compact Framework 2.0 or higher.
The methods of interest are DrawImage and ImageOnSection.
Images can be loaded from file, byte[] array, or an embedded resource.
GetImageSection will get a section of the back image that can be used with any control supporting images.
ImageSection is a reference to that image.
Images can be drawn in the foreground, allowing for dynamic replacement.
Background images should be loaded before any foreground otherwise some images will be lost.
An embedded image in a seperate Dll can be loaded with GetImageResource , for those that are able to do so.
DrawString is included which is able to draw text centered on the form, AlphaBlend is also included.
This is a a fully functional beta release that will likely change in the future.
Have Fun , and please post any Questions Comments or Requests.
Attachments
Last edited: