Thanks Frans, but I don't think it will work for me. I'm using compact frame work 1.x. Also, the CF is very limited on the framework methods it supports.
Thanks, Mike On 1/31/06, Frans Bouma <[EMAIL PROTECTED]> wrote: > > > 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(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
