Platforms to show: All Mac Windows Linux Cross-Platform

Back to IMImageInfoQ8MBS class.

Next items

IMImageInfoQ8MBS.Adjoin as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Join images into a single multi-image file.

For more details please check the ImageMagick documentation.
(Read and Write property)

IMImageInfoQ8MBS.Affirm as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Unknown.

For more details please check the ImageMagick documentation.
(Read and Write property)

IMImageInfoQ8MBS.Antialias as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Control antialiasing of rendered Postscript and Postscript or TrueType fonts.

Enabled by default.
For more details please check the ImageMagick documentation.
(Read and Write property)

IMImageInfoQ8MBS.Authenticate as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An undocumented property.

(Read and Write property)

IMImageInfoQ8MBS.BackgroundColor as IMColorQ8MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Image background color.

(Read and Write property)

IMImageInfoQ8MBS.BorderColor as IMColorQ8MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Image border color.

(Read and Write property)

IMImageInfoQ8MBS.Channel as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The channel to use.

Constants for channel:
const UndefinedChannel= 0
const RedChannel= &h0001
const GrayChannel= &h0001
const CyanChannel= &h0001
const GreenChannel= &h0002
const MagentaChannel= &h0002
const BlueChannel= &h0004
const YellowChannel= &h0004
const AlphaChannel= &h0008
const OpacityChannel= &h0008
const BlackChannel= &h0020
const IndexChannel= &h0020
const AllChannels= &h7fffffff
(Read and Write property)

IMImageInfoQ8MBS.Colors as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An undocumented property.

(Read and Write property)

IMImageInfoQ8MBS.ColorSpace as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Image pixel interpretation.
Example
dim im as ImageMagickQ8MBS // global

Function IMPictureToString(p as picture, magick as string, quality as Integer) As string
dim image as new IMImageQ8MBS
dim imageinfo as IMImageInfoQ8MBS
dim s,data as string
dim impp as new IMMagickPixelPacketQ8MBS

// empty string for nil picture
if p = nil then
Return ""
end if

// create a new picture info

imageinfo = im.NewImageInfo
imageinfo.ColorSpace=1
// only color space is needed. 1 for RGB.

// background color of image
impp.red = 0
impp.Green = 0
impp.Blue = 0

// creates a new image object
if not image.NewImage(imageinfo,p.Width,p.Height,impp) then
Return ""
end if

// copy RB picture into IM Image at position 0/0
image.ColorSpace = 1
image.SetPicture(p,0,0)

// set compression data
imageinfo.Magick = magick
imageinfo.Quality = quality

// and rendering intent: 2=PerceptualIntent
'image.RenderingIntent = 2

// create image data
data = image.ImageToBlob(imageinfo)

// release memory
image.DestroyImage
imageinfo.DestroyImageInfo

// return result
Return data

Exception
// in case of an exception return nothing
Return ""


End Function

If the colorspace is RGB the pixels are red, green, blue. If matte is true, then red, green, blue, and index. If it is CMYK, the pixels are cyan, yellow, magenta, black. Otherwise the colorspace is ignored.

constants:
UndefinedColorspace0
RGBColorspace1
GRAYColorspace2
TransparentColorspace3
OHTAColorspace4
LABColorspace5
XYZColorspace6
YCbCrColorspace7
YCCColorspace8
YIQColorspace9
YPbPrColorspace10
YUVColorspace11
CMYKColorspace12
sRGBColorspace13
HSBColorspace14
HSLColorspace15
HWBColorspace16
(Read and Write property)

IMImageInfoQ8MBS.Compression as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Image compresion type.

useful constants:
const UndefinedCompression= 0
const NoCompression= 1
const BZipCompression= 2
const FaxCompression= 3
const Group4Compression= 4
const JPEGCompression= 5
const LosslessJPEGCompression= 6
const LZWCompression= 7
const RLECompression= 8
const ZipCompression= 9

The default is the compression type of the specified image file.
For more details please check the ImageMagick documentation.
(Read and Write property)

IMImageInfoQ8MBS.Density as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Vertical and horizontal resolution in pixels of the image.

This option specifies an image density when decoding a Postscript or Portable Document page.
(Read and Write property)

IMImageInfoQ8MBS.Depth as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Image depth (8 or 16).

QuantumLeap must be defined before a depth of 16 is valid.
(Read and Write property)

IMImageInfoQ8MBS.Dither as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An undocumented property.

(Read and Write property)

IMImageInfoQ8MBS.Endian as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The endian setting to use.

constants:
UndefinedEndian0
LSBEndian1(Windows)
MSBEndian2(Mac)

e.g. tiff files support different endian settings.
(Read and Write property)

IMImageInfoQ8MBS.Extract as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An undocumented property.

(Read and Write property)

IMImageInfoQ8MBS.Filename as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The file path/name.

The string must be in the encoding of the library and is limited to 4000 bytes.
For more details please check the ImageMagick documentation.
(Read and Write property)

IMImageInfoQ8MBS.Font as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Text rendering font.

If the font is a fully qualified X server font name, the font is obtained from an X server. To use a TrueType font, precede the TrueType filename with an @. Otherwise, specify a Postscript font name (e.g. "helvetica").
(Read and Write property)

IMImageInfoQ8MBS.Group as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An undocumented property.

(Read and Write property)

IMImageInfoQ8MBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The handle used internally by the plugin.

A pointer to a ImageInfo structure.
For more details please check the ImageMagick documentation.
(Read and Write property)

IMImageInfoQ8MBS.HeaderOnly as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
True if only the header was read from the image data.

(Read and Write property)

IMImageInfoQ8MBS.Interlace as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The type of interlacing scheme (default NoInterlace).

This option is used to specify the type of interlacing scheme for raw image formats such as RGB or YUV. NoInterlace means do not interlace, LineInterlace uses scanline interlacing, and PlaneInterlace uses plane interlacing. PartitionInterlace is like PlaneInterlace except the different planes are saved to individual files (e.g. image.R, image.G, and image.B). Use LineInterlace or PlaneInterlace to create an interlaced GIF or progressive JPEG image.

constants:
UndefinedInterlace0Unset value.
NoInterlace1Don't interlace image (RGBRGBRGBRGBRGBRGB...)
LineInterlace2Use scanline interlacing (RRR...GGG...BBB...RRR...GGG...BBB...)
PlaneInterlace3Use plane interlacing (RRRRRR...GGGGGG...BBBBBB...)
PartitionInterlace4Similar to plane interlaing except that the different planes are saved to individual files (e.g. image.R, image.G, and image.B)
(Read and Write property)

IMImageInfoQ8MBS.Magick as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Image encoding format (e.g. "GIF").
Example
dim imageinfo as IMImageInfoQ8MBS
dim blob as string
dim image as IMImageQ8MBS

// Now lets convert to tiff
imageinfo.Filename = "image"
imageinfo.Magick="JPEG"
imageinfo.Quality = 10 //since we are displaying, lets use highest quality, lowest compression
blob = image.ImageToBlob(imageinfo)

For more details please check the ImageMagick documentation.
(Read and Write property)

IMImageInfoQ8MBS.MatteColor as IMColorQ8MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Image matte (transparent) color.

(Read and Write property)

IMImageInfoQ8MBS.Monochrome as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Transform the image to black and white.

(Read and Write property)

IMImageInfoQ8MBS.Orientation as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The image orientation.

constants:
const UndefinedOrientation = 0
const TopLeftOrientation = 1
const TopRightOrientation = 2
const BottomRightOrientation = 3
const BottomLeftOrientation = 4
const LeftTopOrientation = 5
const RightTopOrientation = 6
const RightBottomOrientation = 7
const LeftBottomOrientation = 8

For more details please check the ImageMagick documentation.
(Read and Write property)

IMImageInfoQ8MBS.Page as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Equivalent size of Postscript page.

(Read and Write property)

IMImageInfoQ8MBS.PointSize as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Text rendering font point size.

(Read and Write property)

IMImageInfoQ8MBS.Preview as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Image manipulation preview option.

Used by 'display'.

constants:
UndefinedPreview0
RotatePreview1
ShearPreview2
RollPreview3
HuePreview4
SaturationPreview5
BrightnessPreview6
GammaPreview7
SpiffPreview8
DullPreview9
GrayscalePreview10
QuantizePreview11
DespecklePreview12
ReduceNoisePreview13
AddNoisePreview14
SharpenPreview15
BlurPreview16
ThresholdPreview17
EdgeDetectPreview18
SpreadPreview19
SolarizePreview20
ShadePreview21
RaisePreview22
SegmentPreview23
SwirlPreview24
ImplodePreview25
WavePreview26
OilPaintPreview27
CharcoalDrawingPreview28
JPEGPreview29
(Read and Write property)

IMImageInfoQ8MBS.Quality as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
JPEG/MIFF/PNG compression level.

Default value is 75.
(Read and Write property)

IMImageInfoQ8MBS.Release as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
If true, the destructor will release the handle.

(Read and Write property)

IMImageInfoQ8MBS.ResolutionUnits as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Units of image resolution.

constants:
UndefinedResolution0Unset value.
PixelsPerInchResolution1Density specifications are specified in units of pixels per inch (english units).
PixelsPerCentimeterResolution2Density specifications are specified in units of pixels per centimeter (metric units).
(Read and Write property)

IMImageInfoQ8MBS.SamplingFactor as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An undocumented property.

(Read and Write property)

IMImageInfoQ8MBS.Scene as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An undocumented property.

(Read and Write property)

IMImageInfoQ8MBS.SceneCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An undocumented property.

(Read and Write property)

IMImageInfoQ8MBS.Scenes as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An undocumented property.

(Read and Write property)

IMImageInfoQ8MBS.ServerName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
X11 display to display to.

obtain fonts from, or to capture image from.
(Read and Write property)

IMImageInfoQ8MBS.Size as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Width and height of a raw image (an image which does not support width and height information).

Size may also be used to affect the image size read from a multi-resolution format (e.g. Photo CD, JBIG, or JPEG.
(Read and Write property)

IMImageInfoQ8MBS.Temporary as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Unknown.

For more details please check the ImageMagick documentation.
(Read and Write property)

IMImageInfoQ8MBS.Texture as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Image filename to use as background texture.

(Read and Write property)

IMImageInfoQ8MBS.Type as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The Image type.

constants:
UndefinedType0
BilevelType1
GrayscaleType2
GrayscaleMatteType3
PaletteType4
PaletteMatteType5
TrueColorType6
TrueColorMatteType7
ColorSeparationType8
ColorSeparationMatteType9
OptimizeType10
(Read and Write property)

Next items

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


The biggest plugin in space...