Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

TiffPictureMBS.BitsPerSample as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 3.1 Yes Yes Yes Yes No
Function: The count of bits for each pixel component.
Notes:
Should normally by 8 for RGB images.
(Read and Write property)

Feedback, Comments & Corrections

TiffPictureMBS.BytesPerRow as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
Function: The number of bytes needed for each row in a scan line.
Notes:
0 on any error.
(Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.Compression as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
Function: The compression used.
Notes:
some constants:
COMPRESSION_NONE1dump mode
COMPRESSION_CCITTRLE2CCITT modified Huffman RLE
COMPRESSION_CCITTFAX33CCITT Group 3 fax encoding
COMPRESSION_CCITT_T43CCITT T.4 (TIFF 6 name)
COMPRESSION_CCITTFAX44CCITT Group 4 fax encoding
COMPRESSION_CCITT_T64CCITT T.6 (TIFF 6 name)
COMPRESSION_LZW5Lempel-Ziv & Welch
COMPRESSION_OJPEG6!6.0 JPEG
COMPRESSION_JPEG7%JPEG DCT compression
COMPRESSION_NEXT32766NeXT 2-bit RLE
COMPRESSION_CCITTRLEW32771#1 w/ word alignment
COMPRESSION_PACKBITS32773Macintosh RLE
COMPRESSION_THUNDERSCAN32809ThunderScan RLE
COMPRESSION_IT8CTPAD32895IT8 CT w/padding
COMPRESSION_IT8LW32896IT8 Linework RLE
COMPRESSION_IT8MP32897IT8 Monochrome picture
COMPRESSION_IT8BL32898IT8 Binary line art
COMPRESSION_PIXARFILM32908Pixar companded 10bit LZW
COMPRESSION_PIXARLOG32909Pixar companded 11bit ZIP
COMPRESSION_DEFLATE32946Deflate compression
COMPRESSION_ADOBE_DEFLATE8Deflate compression, as recognized by Adobe
COMPRESSION_DCS32947Kodak DCS encoding
COMPRESSION_JBIG34661ISO JBIG
COMPRESSION_SGILOG34676SGI Log Luminance RLE
COMPRESSION_SGILOG2434677SGI Log 24-bit packed

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

Feedback, Comments & Corrections

TiffPictureMBS.Copyright as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
Function: The copyright notice of this image.
Example:
dim file as folderitem = SpecialFolder.desktop.child("test.tif")
dim st as new MyTiff

// open for appending
if not st.Open(file,"r+") then
MsgBox "Open Tiff failed!"
else
// change one setting
st.Copyright = "Hello World"

// and save
call st.SaveImage
st.Close
end if
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)

Feedback, Comments & Corrections

TiffPictureMBS.CurrentDirOffset as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Queries current directory offset.
Notes: (Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.CurrentRow as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Return the current row, respectively, that is being read or written.
Notes:
These values are updated each time a read or write is done.
(Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.CurrentStrip as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Return the current strip, respectively, that is being read or written.
Notes:
These values are updated each time a read or write is done.
(Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.CurrentTile as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Return the current tile, respectively, that is being read or written.
Notes:
These values are updated each time a read or write is done.
(Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.DateTime as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
Function: Date and time of the TIFF file.
Notes:
Check some TIFF files for the format used.

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

Feedback, Comments & Corrections

TiffPictureMBS.DocumentName as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
Function: The name of the document.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)

Feedback, Comments & Corrections

TiffPictureMBS.ExtraSamples as MemoryBlock
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
Function: The settings for the extra samples.
Notes:
A memoryblock filled with an array of shorts (16bit integers).

constants:
EXTRASAMPLE_UNSPECIFIED0unspecified data
EXTRASAMPLE_ASSOCALPHA1associated alpha data (pre multiplied)
EXTRASAMPLE_UNASSALPHA2unassociated alpha data (mask in RB)

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

Feedback, Comments & Corrections

TiffPictureMBS.FillOrder as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
Function: The fill order of the bits in a byte.
Notes:
constants:
FILLORDER_MSB2LSB1 (default)
FILLORDER_LSB2MSB2
(MSB = Most significant bit, LSB = Least significant bit)

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

Feedback, Comments & Corrections

TiffPictureMBS.height as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin Yes Yes Yes Yes No
Function: The height of the picture.
Notes: (Read and Write property)

Feedback, Comments & Corrections

TiffPictureMBS.HorizontalPosition as Single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
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)

Feedback, Comments & Corrections

TiffPictureMBS.HorizontalResolution as Single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
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)

Feedback, Comments & Corrections

TiffPictureMBS.HostComputer as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
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)

Feedback, Comments & Corrections

TiffPictureMBS.ImageDescription as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
Function: Information about the image.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)

Feedback, Comments & Corrections

TiffPictureMBS.InputBuffer as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 5.2 Yes Yes Yes Yes No
Function: The string passed for OpenString.
Notes:
Used for the read requests from the Tiff library.
(Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.IsBigEndian as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Whether file is big endian.
Notes: (Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.IsByteSwapped as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Whether bytes are swapped.
Notes:
Returns true if the image data was in a different byte-order than the host machine. Zero is returned if the TIFF file and local host byte-orders are the same.
Note that ReadTile(), ReadStrip() and ReadScanline() functions already normally perform byte swapping to local host order if needed.
(Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.IsMSB2LSB as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Returns true if the image data is being returned with bit 0 as the most significant bit.
Notes: (Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.IsTiled as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 13.5 Yes Yes Yes Yes No
Function: Returns a non-zero value if the image data has a tiled organization.
Notes:
Zero is returned if the image data is organized in strips.
(Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.IsUpSampled as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Whether data is upsampled.
Notes:
Returns a non-zero value if image data returned through the read interface routines is being up-sampled. This can be useful to applications that want to calculate I/O buffer sizes to reflect this usage (though the usual strip and tile size routines already do this).
(Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.JPEGQuality as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 13.0 Yes Yes Yes Yes No
Function: The JPEG quality.
Example:
dim logo as Picture = LogoMBS(500)
dim pic as new PictureMBS(logo)

// save tiff with jpeg compression
dim f as FolderItem = SpecialFolder.Desktop.Child("test.tif")
dim t as TiffPictureMBS

if pic <> nil then
t = new TiffPictureMBS

if t.Create(F) then

t.Height = pic.Height
t.Width = pic.Width

t.RowsPerStrip = 1
t.PlanarConfig = t.kPlanarConfigContig
t.Photometric = t.kPhotometricRGB
t.BitsPerSample = 8
t.SamplesPerPixel = 3
t.FillOrder = t.kFillOrderMSB2LSB
t.Orientation = t.kOrientationTopLeft
t.ResolutionUnit = t.kResUnitInch
t.VerticalResolution = 72.0
t.HorizontalResolution = 72.0
t.Compression = t.kCompressionJPEG
t.RowsPerStrip = 32
t.JPEGQuality = 75

// copy lines
for i as Integer = 0 to t.Height - 1
t.Scanline(i) = pic.RowInFormat(i, PictureMBS.ImageFormatRGB)
next

t.Close
end if
end if
Notes:
Default is 75.
(Read and Write property)

Feedback, Comments & Corrections

TiffPictureMBS.Make as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
Function: Scanner manufacturer name.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)

Feedback, Comments & Corrections

TiffPictureMBS.mask as picture
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin Yes Yes Yes Yes No
Function: The mask of the picture.
Notes:
May be nil.
(Read and Write property)

Feedback, Comments & Corrections

TiffPictureMBS.Model as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 4.2 Yes Yes Yes Yes No
Function: Scanner model name/number.
Notes:
The data for this property is stored in the Tiff file.
(Read and Write property)

Feedback, Comments & Corrections

TiffPictureMBS.NumberOfStrips as UInt32
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 13.5 Yes Yes Yes Yes No
Function: Returns the number of strips in the image.
Notes: (Read only property)

Feedback, Comments & Corrections

TiffPictureMBS.NumberOfTiles as UInt32
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property TIFF MBS Images Plugin 13.5 Yes Yes Yes Yes No
Function: Returns the number of tiles in the image.
Notes: (Read only property)

Feedback, Comments & Corrections

Next items

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




Links
MBS Xojo PDF Plugins