TypeLib Xojo support Plugin |
|
RawBitmapConverter.FromPictureTask Method
Creates Task to convert desktop mode Xojo Picture object instance to RawBitmap instance.
Parameters
- image
- The picture to be converted.
Returns
- EinhugurRuntime.Task
- The Task or nil if there was error.
Remarks
Note: For this task the Entry code running in Xojo thread space is rather large. See the documentation for TypeLib plugin Task to get detailed explanation of what this means.
Dim t as EinhugurRuntime.Task = RawBitmapConverter.FromPictureTask(myPicture)
t.WaitFor().
myBitmap = RawBitmap(t.Result)
This function can throw OutOfMemoryException
See Also
RawBitmapConverter Class