Platforms to show: All Mac Windows Linux Cross-Platform

Back to PictureMBS class.

Previous items

PictureMBS.ImageFormatRGB = 1

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatRGB)

PictureMBS.ImageFormatRGBA = 2

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the possible image formats.
Example
dim fSource as FolderItem = SpecialFolder.Desktop.Child("test.png") // some png with alpha
dim oPNGInput as new PNGReaderMBS

If oPNGInput.OpenFile(fSource) Then
If oPNGInput.ApplyOptions(0) Then

dim imgSource as New PictureMBS(oPNGInput.Width, oPNGInput.Height, PictureMBS.ImageFormatRGBA)

' Read row by row the file and puts it in a PictureMBS instance

dim nMax as Integer = oPNGInput.Height - 1
For nInd as Integer = 0 To nMax
imgSource.RowInFormat(nInd, PictureMBS.ImageFormatRGBA, true) = oPNGInput.ReadRow()
Next

' show only alpha/mask channel
Backdrop=imgSource.AlphaChannel.CopyPicture

' show Picture without mask
Backdrop=imgSource.CopyPicture

' show picture with mask
Backdrop=imgSource.CopyPictureWithMask

End If
End If

PictureMBS.ImageFormatRGBX = 3

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatRGBX)

PictureMBS.ImageFormatRofABGR = 21

Type Topic Plugin Version
const Large Picture MBS Images Plugin 9.1
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatRofABGR)

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.

PictureMBS.ImageFormatRofARGB = 19

Type Topic Plugin Version
const Large Picture MBS Images Plugin 9.1
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatRofARGB)

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.

PictureMBS.ImageFormatRofBGR = 17

Type Topic Plugin Version
const Large Picture MBS Images Plugin 9.1
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatRofBGR)

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.

PictureMBS.ImageFormatRofBGRA = 20

Type Topic Plugin Version
const Large Picture MBS Images Plugin 9.1
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatRofBGRA)

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.

PictureMBS.ImageFormatRofRGB = 15

Type Topic Plugin Version
const Large Picture MBS Images Plugin 9.1
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatRofRGB)

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.

PictureMBS.ImageFormatRofRGBA = 18

Type Topic Plugin Version
const Large Picture MBS Images Plugin 9.1
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatRofRGBA)

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.

PictureMBS.ImageFormatScaling1 = 33

Type Topic Plugin Version
const Large Picture MBS Images Plugin 11.3
One of the scaling image formats.

Used for the temporary picture while scaling.
One Byte per Pixel.

PictureMBS.ImageFormatScaling2 = 34

Type Topic Plugin Version
const Large Picture MBS Images Plugin 11.3
One of the scaling image formats.

Used for the temporary picture while scaling.
2 Bytes per Pixel.

PictureMBS.ImageFormatScaling3 = 35

Type Topic Plugin Version
const Large Picture MBS Images Plugin 11.3
One of the scaling image formats.

Used for the temporary picture while scaling.
3 Bytes per Pixel.

PictureMBS.ImageFormatScaling4 = 36

Type Topic Plugin Version
const Large Picture MBS Images Plugin 11.3
One of the scaling image formats.

Used for the temporary picture while scaling.
4 Bytes per Pixel.

PictureMBS.ImageFormatScaling5 = 37

Type Topic Plugin Version
const Large Picture MBS Images Plugin 11.3
One of the scaling image formats.

Used for the temporary picture while scaling.
5 Bytes per Pixel.

PictureMBS.ImageFormatScaling6 = 38

Type Topic Plugin Version
const Large Picture MBS Images Plugin 11.3
One of the scaling image formats.

Used for the temporary picture while scaling.
6 Bytes per Pixel.

PictureMBS.ImageFormatScaling7 = 39

Type Topic Plugin Version
const Large Picture MBS Images Plugin 11.3
One of the scaling image formats.

Used for the temporary picture while scaling.
7 Bytes per Pixel.

PictureMBS.ImageFormatScaling8 = 40

Type Topic Plugin Version
const Large Picture MBS Images Plugin 11.3
One of the scaling image formats.

Used for the temporary picture while scaling.
8 Bytes per Pixel.

PictureMBS.ImageFormatUnknown = 0

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the possible image formats.

PictureMBS.ImageFormatXBGR = 10

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatXBGR)

PictureMBS.ImageFormatXCMYK = 27

Type Topic Plugin Version
const Large Picture MBS Images Plugin 11.0
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatXCMYK)

PictureMBS.ImageFormatXKYMC = 32

Type Topic Plugin Version
const Large Picture MBS Images Plugin 11.0
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatXKYMC)

PictureMBS.ImageFormatXRGB = 5

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the possible image formats.
Example
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatXRGB)

PictureMBS.ScaleBox = 2

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the scale modes for the Scale function.

PictureMBS.ScaleCubic = 7

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the scale modes for the Scale function.

PictureMBS.ScaleLanczos3 = 3

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the scale modes for the Scale function.

PictureMBS.ScaleLanczos8 = 4

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the scale modes for the Scale function.

PictureMBS.ScaleMitchell = 5

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the scale modes for the Scale function.

PictureMBS.ScalePoly3 = 6

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the scale modes for the Scale function.

PictureMBS.ScaleTriangle = 1

Type Topic Plugin Version
const Large Picture MBS Images Plugin 8.7
One of the scale modes for the Scale function.

Previous items

The items on this page are in the following plugins: MBS Images Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...