Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

TiffPictureMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class TIFF MBS Images Plugin Yes Yes Yes Yes No
Function: A class for a Tiff picture.
Example:
Dim p As Picture = LogoMBS(500)

// save tiff file

Dim t As New TiffPictureMBS
Dim file4 As FolderItem = SpecialFolder.Desktop.Child("test4.tif")

t.Pict = p

If t.Create(file4) Then
If t.WriteRGB Then
t.Close
// ok
Else
Break
End If
Else
Break
End If
Notes: Bases on libtiff.

Feedback, Comments & Corrections

This class has no sub classes.

Some useful global functions for this class:

  • CombineBitCMYKtoCMYKMBS(dest as TiffPictureMBS, CyanChannel() as Integer, MagentaChannel() as Integer, YellowChannel() as Integer, BlackChannel() as Integer, Files() as FolderItem, scale as Double, width as Integer, height as Integer, X1 as Integer, Y1 as Integer, X2 as Integer, Y2 as Integer, CacheSizeRead as Integer) as Integer
  • CombineTiff1BitCMYKtoTiffMBS(dest as TiffPictureMBS, CyanChannel() as Integer, MagentaChannel() as Integer, YellowChannel() as Integer, BlackChannel() as Integer, TiffData() as TiffPictureMBS, scale as Double, width as Integer, height as Integer, X1 as Integer, Y1 as Integer, X2 as Integer, Y2 as Integer, ditherMode as Integer = 0) as Integer
  • CombineTiff1BitCMYKtoTiffMBS(dest as TiffPictureMBS, TiffData as TiffPictureMBS, scalex as Double, scaley as Double, width as Integer, height as Integer, X1 as Integer, Y1 as Integer, X2 as Integer, Y2 as Integer, ditherMode as Integer = 0) as Integer
  • CombineTiff8BitCMYKtoTiffMBS(dest as TiffPictureMBS, CyanChannel() as Integer, MagentaChannel() as Integer, YellowChannel() as Integer, BlackChannel() as Integer, TiffData() as TiffPictureMBS, scale as Double, width as Integer, height as Integer, X1 as Integer, Y1 as Integer, X2 as Integer, Y2 as Integer, ditherMode as Integer = 0) as Integer
  • CombineTiffCMYKtoCMYKMBS(dest as TiffPictureMBS, CyanChannel() as Integer, MagentaChannel() as Integer, YellowChannel() as Integer, BlackChannel() as Integer, TiffData() as TiffPictureMBS) as Integer
  • CombineTiffCMYKtoRGBMBS(dest as TiffPictureMBS, CyanChannel() as Integer, MagentaChannel() as Integer, YellowChannel() as Integer, BlackChannel() as Integer, TiffData() as TiffPictureMBS) as Integer
  • TIFFStringToTiffPictureMBS(data as string) as TiffPictureMBS

Some methods using this class:

Some examples which use this class:

Blog Entries


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


TidyOutputMBS   -   TimerMBS

The biggest plugin in space...




Links
MBS Xojo Chart Plugins