Platforms to show: All Mac Windows Linux Cross-Platform

Back to TiffPictureMBS class.

Previous items

TiffPictureMBS.ResolutionUnit as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Which unit is used for the Resolution values.

constants:
RESUNIT_NONE1no meaningful units
RESUNIT_INCH2english
RESUNIT_CENTIMETER3metric

The data for this property is stored in the Tiff file.
(Read and Write property)

TiffPictureMBS.SampleFormat as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 15.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The data sample format.

Value is 1 for unsigned integer, 2 for signed integer, 3 for IEEE floating point, 4 for untyped data (e.g. JPEG compressed), 5 for complex signed int and 6 for complex IEEE floating point.
(Read and Write property)

TiffPictureMBS.SamplesPerPixel as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The count of components used for each pixel.

SamplesPerPixel= 1=Grayscale, 3=RGB, 4=CMYK, ...
Photometric= 0 or 1=Grayscale depending on white point, 2=RGB, 5=CMYK, ...

For other formats see:
http://partners.adobe.com/asn/developer/pdfs/tn/TIFF6.pdf
(Read and Write property)

TiffPictureMBS.Software as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The software name used to make this image.

The data for this property is stored in the Tiff file.
(Read and Write property)

TiffPictureMBS.StripSize as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the equivalent size for a strip of data as it would be returned in a call to ReadEncodedStrip or as it would be expected in a call to WriteEncodedStrip.

(Read only property)

TiffPictureMBS.TileRowSize as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the number of bytes of a row of data in a tile.

(Read only property)

TiffPictureMBS.TileSize as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the equivalent size for a tile of data as it would be returned in a call to ReadTile or as it would be expected in a call to WriteTile.

(Read only property)

TiffPictureMBS.Version as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 5.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The version of the Tiff library used.

Updated to 3.7.1 in plugin version 5.0.
(Read only property)

TiffPictureMBS.VersionString as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 5.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The version of the Tiff library used.
Example
dim z as new TiffPictureMBS

MsgBox z.VersionString

// shows for example:
// LIBTIFF, Version 3.9.4
// Copyright (c) 1988-1996 Sam Leffler
// Copyright (c) 1991-1996 Silicon Graphics, Inc.

(Read only property)

TiffPictureMBS.VerticalPosition as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The y Offset of this image in the drawing area.

The data for this property is stored in the Tiff file.
(Read and Write property)

Some examples using this property:

TiffPictureMBS.VerticalResolution as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The vertical resolution used.

Value depends on ResolutionUnit value.

The data for this property is stored in the Tiff file.
(Read and Write property)

TiffPictureMBS.width as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The width of the picture.

(Read and Write property)

TiffPictureMBS.YieldTicks as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TIFF MBS Images Plugin 7.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
How much time is given back to Xojo for other ticks.
Example
dim t as new TiffPictureMBS
t.YieldTicks=6 // only use 1/10th of a second

If value is greater than zero, the application will yield to another RB thread after the given number of ticks have passed. 60 ticks are one second. Using a small value can slow down processing a lot while a big value keeps your application not responding to mouse clicks.
If you use this property with e.g. 6 as the value, you may also want to use this method in a thread so you can handle mouse events or let Xojo redraw a progressbar.
(Read and Write property)

Previous items

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


The biggest plugin in space...