- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to be able to rotate a PXCMimage using the AcquireAccess() function but the following code does not actually rotate the image. Am I doing something wrong?
PXCMImage image = sample[PXCMCapture.StreamType.STREAM_TYPE_COLOR]; PXCMImage.ImageData data;pxcmStatus s = image.AcquireAccess(PXCMImage.Access.ACCESS_READ_WRITE, PXCMImage.PixelFormat.PIXEL_FORMAT_RGB24, PXCMImage.Rotation.ROTATION_90_DEGREE, PXCMImage.Option.OPTION_ANY,out data);image.ImportData(data, 0);image.info.height = 1920;image.info.width = 1080;
if (s == pxcmStatus.PXCM_STATUS_NO_ERRO R) { image.ReleaseAccess(data); render(this, new RenderFrameEventArgs(0, image)); }image.Dispose();
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems it was not implemented. I will double check and keep you post. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page