TiffPictureMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to TiffPictureMBS class.

Compression Constants

TiffPictureMBS.kCompressionAdobeDeflate = 8

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

Deflate compression, as recognized by Adobe

TiffPictureMBS.kCompressionCCITTFAX3 = 3

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

CCITT Group 3 fax encoding

TiffPictureMBS.kCompressionCCITTFAX4 = 4

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

CCITT Group 4 fax encoding

TiffPictureMBS.kCompressionCCITTRLE = 2

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

CCITT modified Huffman RLE

TiffPictureMBS.kCompressionCCITTRLEW = 32771

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

TiffPictureMBS.kCompressionCCITT_T4 = 3

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

CCITT T.4 (TIFF 6 name)

TiffPictureMBS.kCompressionCCITT_T6 = 4

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

CCITT T.6 (TIFF 6 name)

TiffPictureMBS.kCompressionDCS = 32947

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

Kodak DCS encoding

TiffPictureMBS.kCompressionDeflate = 32946

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

Deflate compression

TiffPictureMBS.kCompressionIT8BL = 32898

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

IT8 Binary line art

TiffPictureMBS.kCompressionIT8CTPAD = 32895

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

IT8 CT w/padding

TiffPictureMBS.kCompressionIT8LW = 32896

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

IT8 Linework RLE

TiffPictureMBS.kCompressionIT8MP = 32897

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

IT8 Monochrome picture

TiffPictureMBS.kCompressionJBIG = 34661

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

ISO JBIG

TiffPictureMBS.kCompressionJP2000 = 34712

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

Leadtools JPEG2000

TiffPictureMBS.kCompressionJPEG = 7

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.
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.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 // 8 works also, but not 1
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

JPEG DCT compression

TiffPictureMBS.kCompressionLZMA = 34925

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

LZMA2

TiffPictureMBS.kCompressionLZW = 5

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

Lempel-Ziv & Welch

TiffPictureMBS.kCompressionNeXT = 32766

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

NeXT 2-bit RLE

TiffPictureMBS.kCompressionNone = 1

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

No compression.

TiffPictureMBS.kCompressionOJPEG = 6

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

!6.0 JPEG

TiffPictureMBS.kCompressionPackBits = 32773

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

Macintosh RLE

TiffPictureMBS.kCompressionPixarFilm = 32908

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

Pixar companded 10bit LZW

TiffPictureMBS.kCompressionPixarLog = 32909

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

Pixar companded 11bit ZIP

TiffPictureMBS.kCompressionSGILOG = 34676

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

SGI Log Luminance RLE

TiffPictureMBS.kCompressionSGILOG24 = 34677

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

SGI Log 24-bit packed

TiffPictureMBS.kCompressionThunderScan = 32809

Type Topic Plugin Version
const TIFF MBS Images Plugin 13.0
One of the compression constants.

ThunderScan RLE

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


💬 Ask a question or report a problem