PictureMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to PictureMBS class.

Image Formats

PictureMBS.ImageFormat1of3 = 15

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

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
Targets the first byte with pixelsize=3.

PictureMBS.ImageFormat1of4 = 18

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

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
Targets the first byte with pixelsize=4.

PictureMBS.ImageFormat2of3 = 16

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

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
Targets the second byte with pixelsize=3.

PictureMBS.ImageFormat2of4 = 19

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

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
Targets the second byte with pixelsize=4.

PictureMBS.ImageFormat3of3 = 17

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

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
Targets the third byte with pixelsize=3.

PictureMBS.ImageFormat3of4 = 20

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

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
Targets the third byte with pixelsize=4.

PictureMBS.ImageFormat4of4 = 21

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

This is the imageformat to use if you target only a gray channel in a RGB picture in memory.
Targets the forth byte with pixelsize=4.

PictureMBS.ImageFormatABGR = 9

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

PictureMBS.ImageFormatACMYK = 25

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.ImageFormatACMYK)

PictureMBS.ImageFormatAG = 13

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.ImageFormatAG)

PictureMBS.ImageFormatAKYMC = 30

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.ImageFormatAKYMC)

PictureMBS.ImageFormatAofABGR = 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.ImageFormatAofABGR)

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

PictureMBS.ImageFormatAofARGB = 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.ImageFormatAofARGB)

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

PictureMBS.ImageFormatAofBGRA = 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.ImageFormatAofBGRA)

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

PictureMBS.ImageFormatAofRGBA = 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.ImageFormatAofRGBA)

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

PictureMBS.ImageFormatARGB = 4

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.ImageFormatARGB)

PictureMBS.ImageFormatBGR = 6

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.ImageFormatBGR)

PictureMBS.ImageFormatBGRA = 7

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.ImageFormatBGRA)

PictureMBS.ImageFormatBGRX = 8

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.ImageFormatBGRX)

PictureMBS.ImageFormatBofABGR = 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.ImageFormatBofABGR)

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

PictureMBS.ImageFormatBofARGB = 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.ImageFormatBofARGB)

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

PictureMBS.ImageFormatBofBGR = 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.ImageFormatBofBGR)

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

PictureMBS.ImageFormatBofBGRA = 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.ImageFormatBofBGRA)

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

PictureMBS.ImageFormatBofRGB = 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.ImageFormatBofRGB)

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

PictureMBS.ImageFormatBofRGBA = 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.ImageFormatBofRGBA)

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

PictureMBS.ImageFormatBuffer = 22

Type Topic Plugin Version
const Large Picture MBS Images Plugin 10.3
The image format for picture objects which are used for data storage.

This format is for PixelSize = 1 and no channels.

PictureMBS.ImageFormatCMYK = 23

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.ImageFormatCMYK)

PictureMBS.ImageFormatCMYKA = 24

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.ImageFormatCMYKA)

PictureMBS.ImageFormatCMYKX = 26

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.ImageFormatCMYKX)

PictureMBS.ImageFormatG = 11

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.ImageFormatG)

PictureMBS.ImageFormatG1 = 11

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

One gray channel.

PictureMBS.ImageFormatG2 = 42

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

Two gray channels.

PictureMBS.ImageFormatG3 = 43

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

Three gray channels.

PictureMBS.ImageFormatG4 = 44

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

Four gray channels.

PictureMBS.ImageFormatG5 = 45

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

Five gray channels.

PictureMBS.ImageFormatG6 = 46

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

Six gray channels.

PictureMBS.ImageFormatG7 = 47

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

Seven gray channels.

PictureMBS.ImageFormatG8 = 48

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

Eight gray channels.

PictureMBS.ImageFormatGA = 12

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.ImageFormatGA)

PictureMBS.ImageFormatGofABGR = 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.ImageFormatGofABGR)

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

PictureMBS.ImageFormatGofARGB = 20

Type Topic Plugin Version
const Large Picture MBS Images Plugin 9.1
One of the possible image formats.
Example
// create a grayscale picture with 4 bytes per pixel
dim p as new PictureMBS(100,100,PictureMBS.ImageFormatGofARGB)

// fill top left pixels white
p.FillRect(0,0,10,10,255)

Backdrop=p.CopyPicture
Title=str(p.PixelSize)

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

PictureMBS.ImageFormatGofBGR = 16

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.ImageFormatGofBGR)

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

PictureMBS.ImageFormatGofBGRA = 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.ImageFormatGofBGRA)

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

PictureMBS.ImageFormatGofRGB = 16

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.ImageFormatGofRGB)

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

PictureMBS.ImageFormatGofRGBA = 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.ImageFormatGofRGBA)

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

PictureMBS.ImageFormatGray16 = 41

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

Support for 16bit Grayscale pictures is very limited.

With 14.0 plugins, we support for this format:


Everything else will probably not work or crash.

PictureMBS.ImageFormatKYMC = 28

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.ImageFormatKYMC)

PictureMBS.ImageFormatKYMCA = 29

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.ImageFormatKYMCA)

PictureMBS.ImageFormatKYMCX = 31

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.ImageFormatKYMCX)

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)

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


💬 Ask a question or report a problem