> I realize this may not be the correct list to post this
> question too, but I really need some help either with the
> problem or perhaps a direction I can turn to.
>
> I'm currently working on a windows ce (or whatever ms calls
> it these days) device.  It's an HP iPAQ with a built in
> camera.  From HP's SDK I cannot figure out how to get the
> image displayed in the correct position.  It's rotated 90'
> counterclockwise.  I need, therefore, to rotate it back to
> it's correct positioning.
>
> The compact framework is missing quite a few methods that the
> standard framework has.  I'd much rather use the framework's
> method for rotation, but alas, it's not there.
>
> My questions are thus:
> 1)  Do y'all know of a good algorithm, hopefully in vb (but
> I'll take anything at this juncture, C#, C), that can rotate
> an image that either uses the framework methods or the
> coredll api for the pocket windows system?
> 2)  If not, do you know where I might try to find such information?

        I haven't checked, but the control which you use to display the image, 
does that one offer rotation methods? The winforms
picture box control for example does that.

        If not, can you use unsafe code on the compact framework? if so, you 
could check my picture rotation routine here:
        http://weblogs.asp.net/fbouma/archive/2005/12/25/433976.aspx

        It might not be useful, as it's plain C# and might not work on the 
CF.NET framework, but it contains the logic to rotate a
picture in 2D over any angle.

                FB

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to