Platforms to show: All Mac Windows Linux Cross-Platform

JPEGImporterMBS.ColorSpaceCMYK = 4
Type Topic Plugin Version
const JPEG MBS Images Plugin 13.4
Function: One of the color spaces.
Example:
dim j as new JPEGImporterMBS

j.File = SpecialFolder.Desktop.Child("cmyk.jpg")

if j.InitJPEG then

Select case j.ColorSpace
case j.ColorSpaceCMYK, j.ColorSpaceYCCK
MsgBox "CMYK"
case j.ColorSpaceRGB, j.ColorSpaceYCbCr
MsgBox "RGB"
case j.ColorSpaceGrayScale
MsgBox "Gray"
else
MsgBox "unknown? "+str(j.ColorSpace)
end Select

j.FinishJPEG
end if
Notes: C/M/Y/K

Feedback, Comments & Corrections

JPEGImporterMBS.ColorSpaceGrayScale = 1
Type Topic Plugin Version
const JPEG MBS Images Plugin 13.4
Function: One of the color spaces.
Notes: Gray

Feedback, Comments & Corrections

JPEGImporterMBS.ColorSpaceRGB = 2
Type Topic Plugin Version
const JPEG MBS Images Plugin 13.4
Function: One of the color spaces.
Notes: red/green/blue

Feedback, Comments & Corrections

JPEGImporterMBS.ColorSpaceUnknown = 0
Type Topic Plugin Version
const JPEG MBS Images Plugin 13.4
Function: One of the color spaces.
Notes: Not set.

Feedback, Comments & Corrections

JPEGImporterMBS.ColorSpaceYCbCr = 3
Type Topic Plugin Version
const JPEG MBS Images Plugin 13.4
Function: One of the color spaces.
Notes: Y/Cb/Cr (also known as YUV)

Feedback, Comments & Corrections

JPEGImporterMBS.ColorSpaceYCCK = 5
Type Topic Plugin Version
const JPEG MBS Images Plugin 13.4
Function: One of the color spaces.
Notes: Y/Cb/Cr/K

Feedback, Comments & Corrections

JPEGImporterMBS.kOrientationBottomLeft = 4
Type Topic Plugin Version
const JPEG MBS Images Plugin 20.1
Function: One of the orientation constants.
Notes: row 0 bottom, col 0 lhs

Feedback, Comments & Corrections

JPEGImporterMBS.kOrientationBottomRight = 3
Type Topic Plugin Version
const JPEG MBS Images Plugin 20.1
Function: One of the orientation constants.
Notes: row 0 bottom, col 0 rhs

Feedback, Comments & Corrections

JPEGImporterMBS.kOrientationLeftBottom = 8
Type Topic Plugin Version
const JPEG MBS Images Plugin 20.1
Function: One of the orientation constants.
Notes: row 0 lhs, col 0 bottom

Feedback, Comments & Corrections

JPEGImporterMBS.kOrientationLeftTop = 5
Type Topic Plugin Version
const JPEG MBS Images Plugin 20.1
Function: One of the orientation constants.
Notes: row 0 lhs, col 0 top

Feedback, Comments & Corrections

JPEGImporterMBS.kOrientationRightBottom = 7
Type Topic Plugin Version
const JPEG MBS Images Plugin 20.1
Function: One of the orientation constants.
Notes: row 0 rhs, col 0 bottom

Feedback, Comments & Corrections

JPEGImporterMBS.kOrientationRightTop = 6
Type Topic Plugin Version
const JPEG MBS Images Plugin 20.1
Function: One of the orientation constants.
Notes: row 0 rhs, col 0 top

Feedback, Comments & Corrections

JPEGImporterMBS.kOrientationTopLeft = 1
Type Topic Plugin Version
const JPEG MBS Images Plugin 20.1
Function: One of the orientation constants.
Notes: row 0 top, col 0 lhs

Feedback, Comments & Corrections

JPEGImporterMBS.kOrientationTopRight = 2
Type Topic Plugin Version
const JPEG MBS Images Plugin 20.1
Function: One of the orientation constants.
Notes: row 0 top, col 0 rhs

Feedback, Comments & Corrections

JPEGImporterMBS.ModeAuto = 30
Type Topic Plugin Version
const JPEG MBS Images Plugin 15.2
Function: One of the mode constants.
Example:
dim j as new JPEGImporterMBS
j.File = SpecialFolder.Desktop.Child("test.jpg")
j.Mode = j.ModeAuto
j.Import
// check Mode after to see if we got ModeRGB, ModeGray or ModeCMYK here.
Notes:
Load the image into the picturedata property.
Switches on import to RGB, Gray or CMYK depending on color space of JPEG file.

Feedback, Comments & Corrections

JPEGImporterMBS.ModeAutoByRow = 31
Type Topic Plugin Version
const JPEG MBS Images Plugin 15.2
Function: One of the mode constants.
Example:
dim j as new JPEGImporterMBS
j.File = SpecialFolder.Desktop.Child("test.jpg")
j.Mode = j.ModeAutoByRow
j.Import
// check Mode after to see if we got ModeRGBbyRow, ModeGraybyRow or ModeCMYKbyRow here.
Notes:
Load the image into the picturedata property.
Switches on import to RGB, Gray or CMYK depending on color space of JPEG file.

Feedback, Comments & Corrections

JPEGImporterMBS.ModeCMYK = 2
Type Topic Plugin Version
const JPEG MBS Images Plugin 8.4
Function: One of the mode constants.
Notes:
Load the image into the picturedata property.
The PictureData Memoryblock uses 4 bytes per pixel.

Feedback, Comments & Corrections

JPEGImporterMBS.ModeCMYKbyRow = 12
Type Topic Plugin Version
const JPEG MBS Images Plugin 9.1
Function: One of the mode constants.
Notes:
Same as ModeCMYK, but PictureData contains only the current row
The PictureData Memoryblock uses 4 bytes per pixel.

Feedback, Comments & Corrections

JPEGImporterMBS.ModeGray = 3
Type Topic Plugin Version
const JPEG MBS Images Plugin 8.7
Function: One of the mode constants.
Example:
dim j as new JPEGImporterMBS

j.Mode=j.ModeGray
j.File=SpecialFolder.Desktop.Child("testGray.JPG")
j.Import

MsgBox str(j.Width)+" x "+str(j.Height)
Notes:
Load the image into the picturedata property.
The PictureData Memoryblock uses one byte per pixel.

Feedback, Comments & Corrections

JPEGImporterMBS.ModeGraybyRow = 13
Type Topic Plugin Version
const JPEG MBS Images Plugin 9.1
Function: One of the mode constants.
Notes:
Same as ModeGray, but PictureData contains only the current row
The PictureData Memoryblock uses one byte per pixel.

Feedback, Comments & Corrections

JPEGImporterMBS.ModePicture = 0
Type Topic Plugin Version
const JPEG MBS Images Plugin 8.4
Function: One of the mode constants.
Notes: Load the image into the picture property.

Feedback, Comments & Corrections

JPEGImporterMBS.ModeRaw = 20
Type Topic Plugin Version
const JPEG MBS Images Plugin 13.4
Function: One of the mode constants.
Notes:
Load the image into the picturedata property.
The PictureData Memoryblock uses 1 to 4 bytes per pixel.

Check the colorspace property to know which color space is used.

Feedback, Comments & Corrections

JPEGImporterMBS.ModeRGB = 1
Type Topic Plugin Version
const JPEG MBS Images Plugin 8.4
Function: One of the mode constants.
Example:
dim j as new JPEGImporterMBS

j.Mode=j.ModeRGB
j.File=SpecialFolder.Desktop.Child("testRGB.JPG")
j.Import

MsgBox str(j.Width)+" x "+str(j.Height)
Notes:
Load the image into the picturedata property.
The PictureData Memoryblock uses 3 bytes per pixel.

Feedback, Comments & Corrections

JPEGImporterMBS.ModeRGBbyRow = 11
Type Topic Plugin Version
const JPEG MBS Images Plugin 9.1
Function: One of the mode constants.
Notes:
Same as ModeRGB, but PictureData contains only the current row
The PictureData Memoryblock uses 3 bytes per pixel.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Chart Plugins

Start Chat