On Oct 7, 2015, at 3:31 PM, Christian Schmitz <supp...@monkeybreadsoftware.de> wrote: > >> My question: is there a way in MBSPlugins to do this and quickly convert >> back to a Xojo Picture object? I've some sample code which gets the >> bitmapImageRep and then converts it to a BMP and then use >> Picture.FromData(), but this seems like it's probably a slow process. > > pass the handle to this method: > CGImageMBS.CreateImageWithHandle(handle as integer) as CGImageMBS
Nice, I can then call CGimageMBS.Picture() to get the Xojo picture object. Works great, thank you :) _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info