|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||JPEG||MBS Images Plugin||17.2||Yes||Yes||Yes||Yes||No|
// get a picture
dim p as Picture = LogoMBS(500)
// start movie building
dim m as new JPEGMovieMBS
m.Width = 500
m.Height = 500
m.SecondsPerFrame = 0.5
// add frames where we count up
for i as integer = 1 to 20
dim c as new Picture(500, 500)
dim g as Graphics = c.Graphics
g.ForeColor = &c000000
g.TextSize = 50
g.DrawPicture p, 0, 0
g.DrawString str(i), 20, 50
dim j as string = c.GetData(c.FormatJPEG)
// generate movie
dim MovieData as string = m.BuildMovie
// and write to file
dim f as FolderItem = SpecialFolder.Desktop.Child("test.mov")
dim b as BinaryStream = BinaryStream.Create(f, true)
This is a self written class to create a QuickTime Movie with one video track using JPEG images.
You can use this to quickly write a slideshow video if needed.
Does play in Quicktime player and VLC, but not Windows Media Player.
- 6 properties
- 3 methods
This class has no sub classes.
Some examples which use this class:
The items on this page are in the following plugins: MBS Images Plugin.
MBS Xojo blog