Platforms to show: All Mac Windows Linux Cross-Platform
RaspberryPiCameraMBS.AvailableFormats as RaspberryPiCameraFormatDescriptionMBS()
Function:
Queries available formats.
Notes:
Lasterror and ErrorMessage are set.
Can return nil in case of error.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RaspberryPiCamera | MBS Linux Plugin | 16.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
Lasterror and ErrorMessage are set.
Can return nil in case of error.
Some examples using this method:
RaspberryPiCameraMBS.Capture(WithPicture as boolean = true) as Boolean
Function:
Captures a new picture.
Notes:
If WithPicture is true and pixel format is compatible (RGB 24 or 32bit), we set the picture property.
If capturing JPEG, we copy the JPEG data into the JPEG property.
Returns true on success.
Lasterror and ErrorMessage are set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RaspberryPiCamera | MBS Linux Plugin | 16.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
If WithPicture is true and pixel format is compatible (RGB 24 or 32bit), we set the picture property.
If capturing JPEG, we copy the JPEG data into the JPEG property.
Returns true on success.
Lasterror and ErrorMessage are set.
RaspberryPiCameraMBS.Close
Function:
Closes camera device.
Notes: Lasterror and ErrorMessage are set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RaspberryPiCamera | MBS Linux Plugin | 16.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: Lasterror and ErrorMessage are set.
RaspberryPiCameraMBS.Constructor
Function:
The constructor.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RaspberryPiCamera | MBS Linux Plugin | 16.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
RaspberryPiCameraMBS.CurrentFormat as RaspberryPiCameraFormatMBS
Function:
Queries current format.
Notes:
Returns nil in case of error.
Lasterror and ErrorMessage are set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RaspberryPiCamera | MBS Linux Plugin | 16.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
Returns nil in case of error.
Lasterror and ErrorMessage are set.
Some examples using this method:
RaspberryPiCameraMBS.InitBuffer as Boolean
Function:
Initializes buffer.
Notes:
This is done automatically if you capture.
Returns true on success.
Lasterror and ErrorMessage are set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RaspberryPiCamera | MBS Linux Plugin | 16.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
This is done automatically if you capture.
Returns true on success.
Lasterror and ErrorMessage are set.
Some examples using this method:
RaspberryPiCameraMBS.Open(Device as string = "/dev/video0") as Boolean
Function:
Opens the camera device.
Notes:
You need
Returns true on success.
Lasterror and ErrorMessage are set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RaspberryPiCamera | MBS Linux Plugin | 16.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
You need
- a Raspberry Pi computer
- to attach the camera module
- to enable the video camera
- run a command: sudo modprobe bcm2835-v4l2
- to check if you see /dev/video0 in file system.
Returns true on success.
Lasterror and ErrorMessage are set.
RaspberryPiCameraMBS.SetCurrentFormat(format as RaspberryPiCameraFormatMBS) as boolean
Function:
Sets current format.
Notes:
This allows to use any format, even if we can't transform it to picture for you.
Returns true on success.
Lasterror and ErrorMessage are set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RaspberryPiCamera | MBS Linux Plugin | 16.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
This allows to use any format, even if we can't transform it to picture for you.
Returns true on success.
Lasterror and ErrorMessage are set.
RaspberryPiCameraMBS.SetJPEGSize(Width as Integer, Height as Integer) as Boolean
Function:
Sets size and format to capture.
Notes:
Sets JPEG format with given size.
Returns true on success.
Lasterror and ErrorMessage are set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RaspberryPiCamera | MBS Linux Plugin | 16.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
Sets JPEG format with given size.
Returns true on success.
Lasterror and ErrorMessage are set.
Some examples using this method:
RaspberryPiCameraMBS.SetSize(Width as Integer, Height as Integer) as Boolean
Function:
Sets size and format to capture.
Notes:
Sets to capture RGB picture with given size.
Returns true on success.
Lasterror and ErrorMessage are set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RaspberryPiCamera | MBS Linux Plugin | 16.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
Sets to capture RGB picture with given size.
Returns true on success.
Lasterror and ErrorMessage are set.
The items on this page are in the following plugins: MBS Linux Plugin.
Feedback: Report problem or ask question.
