API Documentation

Pdf/Resource/Image/Tiff.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
version
$Id: Tiff.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Pdf_Resource_Image_Tiff

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Pdf_Resource_Image_Tiff

Extends from
Zend_Pdf_Resource_Image
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
Constants
TIFF_FIELD_TYPE_BYTE
TIFF_FIELD_TYPE_ASCII
TIFF_FIELD_TYPE_SHORT
TIFF_FIELD_TYPE_LONG
TIFF_FIELD_TYPE_RATIONAL
TIFF_TAG_IMAGE_WIDTH
TIFF_TAG_IMAGE_LENGTH
TIFF_TAG_BITS_PER_SAMPLE
TIFF_TAG_COMPRESSION
TIFF_TAG_PHOTOMETRIC_INTERPRETATION
TIFF_TAG_STRIP_OFFSETS
TIFF_TAG_SAMPLES_PER_PIXEL
TIFF_TAG_STRIP_BYTE_COUNTS
TIFF_COMPRESSION_UNCOMPRESSED
TIFF_COMPRESSION_CCITT1D
TIFF_COMPRESSION_GROUP_3_FAX
TIFF_COMPRESSION_GROUP_4_FAX
TIFF_COMPRESSION_LZW
TIFF_COMPRESSION_JPEG
TIFF_COMPRESSION_FLATE
TIFF_COMPRESSION_FLATE_OBSOLETE_CODE
TIFF_COMPRESSION_PACKBITS
TIFF_PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO
TIFF_PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO
TIFF_PHOTOMETRIC_INTERPRETATION_RGB
TIFF_PHOTOMETRIC_INTERPRETATION_RGB_INDEXED
TIFF_PHOTOMETRIC_INTERPRETATION_CMYK
TIFF_PHOTOMETRIC_INTERPRETATION_YCBCR
TIFF_PHOTOMETRIC_INTERPRETATION_CIELAB
TIFF_ENDIAN_BIG
TIFF_ENDIAN_LITTLE
UNPACK_TYPE_BYTE
UNPACK_TYPE_SHORT
UNPACK_TYPE_LONG
UNPACK_TYPE_RATIONAL
Properties
$_width
$_height
$_imageProperties
$_endianType
$_fileSize
$_bitsPerSample
$_compression
$_filter
$_colorCode
$_whiteIsZero
$_blackIsZero
$_colorSpace
$_imageDataOffset
$_imageDataLength
Methods
unpackBytes
__construct
getPixelWidth
getPixelHeight
getProperties

Description

TIFF image

Constants

TIFF_FIELD_TYPE_BYTE

 TIFF_FIELD_TYPE_BYTE = '1'

Details

value
1

TIFF_FIELD_TYPE_ASCII

 TIFF_FIELD_TYPE_ASCII = '2'

Details

value
2

TIFF_FIELD_TYPE_SHORT

 TIFF_FIELD_TYPE_SHORT = '3'

Details

value
3

TIFF_FIELD_TYPE_LONG

 TIFF_FIELD_TYPE_LONG = '4'

Details

value
4

TIFF_FIELD_TYPE_RATIONAL

 TIFF_FIELD_TYPE_RATIONAL = '5'

Details

value
5

TIFF_TAG_IMAGE_WIDTH

 TIFF_TAG_IMAGE_WIDTH = '256'

Details

value
256

TIFF_TAG_IMAGE_LENGTH

 TIFF_TAG_IMAGE_LENGTH = '257'

Details

value
257

TIFF_TAG_BITS_PER_SAMPLE

 TIFF_TAG_BITS_PER_SAMPLE = '258'

Details

value
258

TIFF_TAG_COMPRESSION

 TIFF_TAG_COMPRESSION = '259'

Details

value
259

TIFF_TAG_PHOTOMETRIC_INTERPRETATION

 TIFF_TAG_PHOTOMETRIC_INTERPRETATION = '262'

Details

value
262

TIFF_TAG_STRIP_OFFSETS

 TIFF_TAG_STRIP_OFFSETS = '273'

Details

value
273

TIFF_TAG_SAMPLES_PER_PIXEL

 TIFF_TAG_SAMPLES_PER_PIXEL = '277'

Details

value
277

TIFF_TAG_STRIP_BYTE_COUNTS

 TIFF_TAG_STRIP_BYTE_COUNTS = '279'

Details

value
279

TIFF_COMPRESSION_UNCOMPRESSED

 TIFF_COMPRESSION_UNCOMPRESSED = '1'

Details

value
1

TIFF_COMPRESSION_CCITT1D

 TIFF_COMPRESSION_CCITT1D = '2'

Details

value
2

TIFF_COMPRESSION_GROUP_3_FAX

 TIFF_COMPRESSION_GROUP_3_FAX = '3'

Details

value
3

TIFF_COMPRESSION_GROUP_4_FAX

 TIFF_COMPRESSION_GROUP_4_FAX = '4'

Details

value
4

TIFF_COMPRESSION_LZW

 TIFF_COMPRESSION_LZW = '5'

Details

value
5

TIFF_COMPRESSION_JPEG

 TIFF_COMPRESSION_JPEG = '6'

Details

value
6

TIFF_COMPRESSION_FLATE

 TIFF_COMPRESSION_FLATE = '8'

Details

value
8

TIFF_COMPRESSION_FLATE_OBSOLETE_CODE

 TIFF_COMPRESSION_FLATE_OBSOLETE_CODE = '32946'

Details

value
32946

TIFF_COMPRESSION_PACKBITS

 TIFF_COMPRESSION_PACKBITS = '32773'

Details

value
32773

TIFF_PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO

 TIFF_PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO = '0'

Details

value
0

TIFF_PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO

 TIFF_PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO = '1'

Details

value
1

TIFF_PHOTOMETRIC_INTERPRETATION_RGB

 TIFF_PHOTOMETRIC_INTERPRETATION_RGB = '2'

Details

value
2

TIFF_PHOTOMETRIC_INTERPRETATION_RGB_INDEXED

 TIFF_PHOTOMETRIC_INTERPRETATION_RGB_INDEXED = '3'

Details

value
3

TIFF_PHOTOMETRIC_INTERPRETATION_CMYK

 TIFF_PHOTOMETRIC_INTERPRETATION_CMYK = '5'

Details

value
5

TIFF_PHOTOMETRIC_INTERPRETATION_YCBCR

 TIFF_PHOTOMETRIC_INTERPRETATION_YCBCR = '6'

Details

value
6

TIFF_PHOTOMETRIC_INTERPRETATION_CIELAB

 TIFF_PHOTOMETRIC_INTERPRETATION_CIELAB = '8'

Details

value
8

TIFF_ENDIAN_BIG

 TIFF_ENDIAN_BIG = '0'

Details

value
0

TIFF_ENDIAN_LITTLE

 TIFF_ENDIAN_LITTLE = '1'

Details

value
1

UNPACK_TYPE_BYTE

 UNPACK_TYPE_BYTE = '0'

Details

value
0

UNPACK_TYPE_SHORT

 UNPACK_TYPE_SHORT = '1'

Details

value
1

UNPACK_TYPE_LONG

 UNPACK_TYPE_LONG = '2'

Details

value
2

UNPACK_TYPE_RATIONAL

 UNPACK_TYPE_RATIONAL = '3'

Details

value
3

Properties

$_bitsPerSample

 $_bitsPerSample = ''

Details

visibility
protected
default
final
false
static
false

$_blackIsZero

 $_blackIsZero = ''

Details

visibility
protected
default
final
false
static
false

$_colorCode

 $_colorCode = ''

Details

visibility
protected
default
final
false
static
false

$_colorSpace

 $_colorSpace = ''

Details

visibility
protected
default
final
false
static
false

$_compression

 $_compression = ''

Details

visibility
protected
default
final
false
static
false

$_endianType

 $_endianType = ''

Details

visibility
protected
default
final
false
static
false

$_fileSize

 $_fileSize = ''

Details

visibility
protected
default
final
false
static
false

$_filter

 $_filter = ''

Details

visibility
protected
default
final
false
static
false

$_height

 $_height = ''

Details

visibility
protected
default
final
false
static
false

$_imageDataLength

 $_imageDataLength = 'TIFF_ENDIAN_BIG'

Details

visibility
protected
default
TIFF_ENDIAN_BIG
final
false
static
false

$_imageDataOffset

 $_imageDataOffset = ''

Details

visibility
protected
default
final
false
static
false

$_imageProperties

 $_imageProperties = ''

Details

visibility
protected
default
final
false
static
false

$_whiteIsZero

 $_whiteIsZero = ''

Details

visibility
protected
default
final
false
static
false

$_width

 $_width = ''

Details

visibility
protected
default
final
false
static
false

Methods

__construct

__construct( string $imageFileName ) :

Object constructor

Arguments
$imageFileName
string
Details
visibility
public
final
false
static
false
throws

getPixelHeight

getPixelHeight( ) :

Image height (defined in Zend_Pdf_Resource_Image_Interface)

Details
visibility
public
final
false
static
false

getPixelWidth

getPixelWidth( ) :

Image width (defined in Zend_Pdf_Resource_Image_Interface)

Details
visibility
public
final
false
static
false

getProperties

getProperties( ) :

Image properties (defined in Zend_Pdf_Resource_Image_Interface)

Details
visibility
public
final
false
static
false

unpackBytes

unpackBytes( int $type, string $bytes ) :

Byte unpacking function

Makes it possible to unpack bytes in one statement for enhanced logic readability.

Arguments
$type
int
$bytes
string
Details
visibility
protected
final
false
static
false
throws
Documentation was generated by DocBlox.