Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / March 2007

Tip: Looking for answers? Try searching our database.

OpenNetCF IImage and png alpha rendering

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
joker - 19 Mar 2007 14:56 GMT
I have a simple project that displays a background image on a form,
then displays an image on top of that.  Both images are png.

The second image contains alpha channel data to give a drop shadowed
look.

I'm using the OpenNetCF ImagingFactory and the IImage interface to
draw the second image to the form.

The form works and displays correctly when I deploy to the PPC
emulator, but when I deploy to my windows ce 5.0 device (not windows
mobile and not PPC) the portion of the image that contains the alpha
channel data is all black.

Both the emulator and the device have the same versions of the CF and
the SDF installed.

Does anybody have any ideas?  Does the ImagingFactory depend upon
something in PPC that I don't have access to in my CE environment?

Thanks,
<ctacke/> - 19 Mar 2007 16:37 GMT
You're certain your device's display driver has alpha support?

Signature

Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

>I have a simple project that displays a background image on a form,
> then displays an image on top of that.  Both images are png.
[quoted text clipped - 17 lines]
>
> Thanks,
joker - 19 Mar 2007 17:51 GMT
I wasn't aware it was a "feature" of the video device, but that makes
sense.  I bet it's either not available or not enabled.  I'll check.

Thanks for your help.

> You're certain your device's display driver has alpha support?
>
[quoted text clipped - 24 lines]
>
> > Thanks,

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.