MBS Plugin Documentation
Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchie
New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0
The list of the themes, classes, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
TiffPictureMBS.FillOrder as Integer
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The fill order of the bits in a byte.
Notes:
constants:
(MSB = Most significant bit, LSB = Least significant bit)
The data for this property is stored in the Tiff file.
(Read and Write property)
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The fill order of the bits in a byte.
Notes:
constants:
| FILLORDER_MSB2LSB | 1 (default) |
| FILLORDER_LSB2MSB | 2 |
The data for this property is stored in the Tiff file.
(Read and Write property)
TiffPictureMBS.Flush
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Flush causes any pending writes for the specified file (including writes for the current directory) to be done.
Notes: In normal operation this call is never needed - the library automatically does any flushing required.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Flush causes any pending writes for the specified file (including writes for the current directory) to be done.
Notes: In normal operation this call is never needed - the library automatically does any flushing required.
TiffPictureMBS.FlushData
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: FlushData flushes any pending image data for the specified file to be written out; directory-related data are not flushed.
Notes: In normal operation this call is never needed Å| the library automatically does any flushing required.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: FlushData flushes any pending image data for the specified file to be written out; directory-related data are not flushed.
Notes: In normal operation this call is never needed Å| the library automatically does any flushing required.
TiffPictureMBS.GetColorProfile as string
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Returns the color profile data stored in the tiff file.
Example:
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Returns the color profile data stored in the tiff file.
Example:
dim f as FolderItem
dim t as TiffPictureMBS
dim s as string
dim p as CMProfileMBS
f=DesktopFolder.Child("horsehead_steinberg_big.tif")
t=f.OpenAsTiffMBS
s=t.GetColorProfile
p=CMOpenProfileFromDataMBS(s)
MsgBox p.Name
Notes: Returns "" on any error.TiffPictureMBS.GetData(Tag as integer) as string
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the string stored for this tag.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the string stored for this tag.
TiffPictureMBS.GetField(Tag as integer, mem as memoryblock) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
The memoryblock you pass in must be big enough to hold whatever data the library stores there.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
The memoryblock you pass in must be big enough to hold whatever data the library stores there.
TiffPictureMBS.GetFieldByte(Tag as integer, byref value as integer) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
TiffPictureMBS.GetFieldCount(Tag as integer, byref count as integer, mem as memoryblock) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
This is the special version using memoryblock so you can use it for reading values with a count value.
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
This is the special version using memoryblock so you can use it for reading values with a count value.
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
TiffPictureMBS.GetFieldDefaultedByte(Tag as integer, byref value as integer) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
TiffPictureMBS.GetFieldDefaultedDouble(Tag as integer, byref value as double) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
TiffPictureMBS.GetFieldDefaultedInteger(Tag as integer, byref value as integer) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
TiffPictureMBS.GetFieldDefaultedShort(Tag as integer, byref value as integer) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
TiffPictureMBS.GetFieldDefaultedSingle(Tag as integer, byref value as Single) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
TiffPictureMBS.GetFieldDefaultedString(Tag as integer, byref value as String) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Example:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
The string is returned with ascii encoding. You may need to define a different encoding is this is not correct.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Example:
dim t as TiffPictureMBS
dim f as FolderItem
dim s as string
f=DesktopFolder.Child("ChristianSchmitz.tif")
t=f.OpenAsTiffMBS
const TIFFTAG_SOFTWARE=305
if t.GetFieldDefaultedString(TIFFTAG_SOFTWARE, s) then
MsgBox "TIFFTAG_SOFTWARE"+EndOfLine+s
end if
Notes: Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
The string is returned with ascii encoding. You may need to define a different encoding is this is not correct.
GetFieldDefaulted* is identical to GetField*, except that if a tag is not defined in the current directory and it has a default value, then the default value is returned.
TiffPictureMBS.GetFieldDouble(Tag as integer, byref value as double) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
TiffPictureMBS.GetFieldInteger(Tag as integer, byref value as integer) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
TiffPictureMBS.GetFieldMemory(Tag as integer, byref ItemCount as integer) as memoryblock
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
This is the special version using memoryblock so you can use it for reading values with a count value.
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
This is the special version using memoryblock so you can use it for reading values with a count value.
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
TiffPictureMBS.GetFieldShort(Tag as integer, byref value as integer) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.0, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
TiffPictureMBS.GetFieldSingle(Tag as integer, byref value as Single) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.7, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Notes:
Please look for Tag values in the tiff specification.
Returns true on success.
Please make sure to use the correct setter depending on data type associated with the tag.
TiffPictureMBS.GetFieldString(Tag as integer, byref value as string) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Example:
Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
The string is returned with ascii encoding. You may need to define a different encoding is this is not correct.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 8.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the value associated with the given tag id.
Example:
dim t as TiffPictureMBS
dim f as FolderItem
dim s as string
f=DesktopFolder.Child("test.tif")
t=f.OpenAsTiffMBS
const TIFFTAG_SOFTWARE=305
if t.GetFieldString(TIFFTAG_SOFTWARE, s) then
MsgBox "TIFFTAG_SOFTWARE"+EndOfLine+s
end if
const TIFFTAG_HOSTCOMPUTER=316
if t.GetFieldString(TIFFTAG_HOSTCOMPUTER, s) then
MsgBox "TIFFTAG_SOFTWARE"+EndOfLine+s
end if
const TIFFTAG_IMAGEDESCRIPTION=270
if t.GetFieldString(TIFFTAG_IMAGEDESCRIPTION, s) then
MsgBox "TIFFTAG_IMAGEDESCRIPTION"+EndOfLine+s
end if
const TIFFTAG_MAKE=271
if t.GetFieldString(TIFFTAG_MAKE, s) then
MsgBox "TIFFTAG_MAKE"+EndOfLine+s
end if
const TIFFTAG_ARTIST=315
if t.GetFieldString(TIFFTAG_ARTIST, s) then
MsgBox "TIFFTAG_ARTIST"+EndOfLine+s
end if
Notes: Please look for Tag values in the tiff specification.
Returns true on success. May return a default value.
Please make sure to use the correct setter depending on data type associated with the tag.
The string is returned with ascii encoding. You may need to define a different encoding is this is not correct.
TiffPictureMBS.GetXMP as string
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Returns the xmp metadata package stored in the tiff file.
Example:
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Returns the xmp metadata package stored in the tiff file.
Example:
dim f as FolderItem
dim t as TiffPictureMBS
dim s as string
f=DesktopFolder.Child("test.tif")
t=f.OpenAsTiffMBS
s=t.GetXMP
MsgBox left(s,500)
Notes: Returns "" on any error.TiffPictureMBS.height as integer
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The height of the picture.
Notes: (Read and Write property)
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The height of the picture.
Notes: (Read and Write property)
TiffPictureMBS.HorizontalPosition as Single
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The x Offset of this image in the drawing area.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The x Offset of this image in the drawing area.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)
TiffPictureMBS.HorizontalResolution as Single
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The horizontal resolution used.
Notes:
Value depends on ResolutionUnit value.
The data for this property is stored in the Tiff file.
(Read and Write property)
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The horizontal resolution used.
Notes:
Value depends on ResolutionUnit value.
The data for this property is stored in the Tiff file.
(Read and Write property)
TiffPictureMBS.HostComputer as String
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Name of the machine where the tiff file was created.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Name of the machine where the tiff file was created.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)
TiffPictureMBS.ImageCount as integer
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Returns the number of images in the TIFF file.
Notes: Returns 0 on any error.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Returns the number of images in the TIFF file.
Notes: Returns 0 on any error.
TiffPictureMBS.ImageDescription as String
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Information about the image.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Information about the image.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)
TiffPictureMBS.ImageIndex as integer
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The current image index.
Notes: 0 based.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The current image index.
Notes: 0 based.
TiffPictureMBS.InputBuffer as String
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The string passed for OpenString.
Notes:
Used for the read requests from the Tiff library.
(Read only property)
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The string passed for OpenString.
Notes:
Used for the read requests from the Tiff library.
(Read only property)
TiffPictureMBS.IsLastImage as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether the current picture is the last picture.
Notes: Useful if you walk through all pictures using NextImage.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether the current picture is the last picture.
Notes: Useful if you walk through all pictures using NextImage.
TiffPictureMBS.Make as String
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scanner manufacturer name.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scanner manufacturer name.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)
TiffPictureMBS.mask as picture
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The mask of the picture.
Notes:
May be nil.
(Read and Write property)
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The mask of the picture.
Notes:
May be nil.
(Read and Write property)
TiffPictureMBS.MirrorVertical(output as TiffPictureMBS) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Mirrors the current picture to another tiff object.
Notes:
You may be able to pass the current tiff file as the output one if you have it open for read and write.
Returns true on success and false on failure.
Works for any color depth or color mode.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 7.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Mirrors the current picture to another tiff object.
Notes:
You may be able to pass the current tiff file as the output one if you have it open for read and write.
Returns true on success and false on failure.
Works for any color depth or color mode.
TiffPictureMBS.Model as String
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scanner model name/number.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)
property, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scanner model name/number.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)
TiffPictureMBS.NextImage as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Loads the next image in the TIFF file.
Notes: Returns true on success and false on any error.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Loads the next image in the TIFF file.
Notes: Returns true on success and false on any error.
TiffPictureMBS.NextImage(HeaderOnly as boolean) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the next image.
Notes: If HeaderOnly is false the current picture is read into the pict&mask properties.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Reads the next image.
Notes: If HeaderOnly is false the current picture is read into the pict&mask properties.
TiffPictureMBS.Open(file as folderitem) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Opens a tiff file for readonly access.
Notes:
You need to use the ReadRGB method or the Scanline property to get data from this file.
Returns true on success.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Opens a tiff file for readonly access.
Notes:
You need to use the ReadRGB method or the Scanline property to get data from this file.
Returns true on success.
TiffPictureMBS.Open(file as folderitem, Mode as string) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Opens a tiff file for readonly access.
Example:
Same as the other Open method, but you can pass a mode string to the library.
The open mode parameter can include the following flags in addition to the "r" (Read), "w" (Write), and "a" (Append) flags. Note however that option flags must follow the read-write-append specification.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Opens a tiff file for readonly access.
Example:
dim t as new TiffPictureMBS
if t.Open(file, "r") then
msgbox "OK"
end if
Notes: Same as the other Open method, but you can pass a mode string to the library.
The open mode parameter can include the following flags in addition to the "r" (Read), "w" (Write), and "a" (Append) flags. Note however that option flags must follow the read-write-append specification.
| l | When creating a new file force information be written with Little-Endian byte order (but see below). By default the library will create new files using the native CPU byte order. |
| b | When creating a new file force information be written with Big-Endian byte order (but see below). By default the library will create new files using the native CPU byte order. |
| L | Force image data that is read or written to be treated with bits filled from Least Significant Bit (LSB) to Most Significant Bit (MSB). Note that this is the opposite to the way the library has worked from its inception. |
| B | Force image data that is read or written to be treated with bits filled from Most Significant Bit (MSB) to Least Significant Bit (LSB); this is the default. |
| H | Force image data that is read or written to be treated with bits filled in the same order as the native CPU. |
| M | Enable the use of memory-mapped files for images opened read-only. If the underlying system does not support memory-mapped files or if the specific image being opened cannot be memory-mapped then the library will fallback to using the normal system interface for reading information. By default the library will attempt to use memory-mapped files. |
| m | Disable the use of memory-mapped files. |
| C | Enable the use of "strip chopping" when reading images that are comprised of a single strip or tile of uncompressed data. Strip chopping is a mechanism by which the library will automatically convert the single-strip image to multiple strips, each of which has about 8 Kilobytes of data. This facility can be useful in reducing the amount of memory used to read an image because the library normally reads each strip in its entirety. Strip chopping does however alter the apparent contents of the image because when an image is divided into multiple strips it looks as though the underlying file contains multiple separate strips. Finally, note that default handling of strip chopping is a compile-time configuration parameter. The default behaviour, for backwards compatibility, is to enable strip chopping. |
| c | Disable the use of strip chopping when reading images. |
TiffPictureMBS.OpenString(data as string) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Opens a tiff image located in a binary string.
Example:
Same as the Open() function, but memory based. You can now use functions like Scanline(), ReadSW() or ReadRGB() to get the picture data.
Returns true on success.
The Warning and Error events may show you reasons why it does not work.
The string you pass is saved in the data property of the class for later use.
You can and should use this function to write yourself a TiffStringToPicture function.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Opens a tiff image located in a binary string.
Example:
Function TiffStringToPicture(data as string) As picture
dim t as MyTiffPictureMBS
t=new MyTiffPictureMBS
if t.OpenString(data) then
if t.ReadRGB then
return t.Pict
// you could add the mask here.
end if
end if
Return nil // failed
End Function
Notes: Same as the Open() function, but memory based. You can now use functions like Scanline(), ReadSW() or ReadRGB() to get the picture data.
Returns true on success.
The Warning and Error events may show you reasons why it does not work.
The string you pass is saved in the data property of the class for later use.
You can and should use this function to write yourself a TiffStringToPicture function.
TiffPictureMBS.OpenString(data as string, Mode as string) as boolean
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Opens a tiff image located in a binary string.
Notes: Same as the other OpenString method, but you can pass a mode string to the library.
method, Pictures Import and Export, MBS Tiff Plugin (Tiff), class TiffPictureMBS, Plugin version: 5.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Opens a tiff image located in a binary string.
Notes: Same as the other OpenString method, but you can pass a mode string to the library.
The items on this page are in the following plugins: MBS Tiff Plugin.
Monkeybread Software Realbasic Plugins - Pfarrgemeinderat St. Arnulf Nickenich