Hello Christian et all :) i am using your images to movie AVFoundation example as a starting point for a project but have run into some difficulty when building the console portion helper app. Using just the following code:
Dim p As Picture = LogoMBS( 500) Dim c As New CVPixelBufferMBS( p) works fine in a desktop app but stops a console app with an Unsupported Operation Exception, “works only with Cocoa and Bitmap pictures” according to the debugger it is a bitmap picture. Creating the new picture like p = new Picture( 200, 200, 32) does not work on the console either. I even added this: dim p1 as Picture = LogoMBS( 500) dim p2 as Picture = p1.BitmapMBS Dim c As New CVPixelBufferMBS( p2) just to be sure it was a bitmap and that throws the same error. Is there some other way to create these on a console app? Or some other method I can use to create this buffer? Any advice greatly appreciated. Thank you! I am using the latest preview release of your plugins (though I was using the last release when I first saw the issue so it’s not anything new in them) and the 2022 r3.1 version of Xojo. Building on an ARM mac running 12.4. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com _______________________________________________ [email protected] mailing list Options and unsubscribe here: https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
