Packageorg.alivepdf.images
Classpublic class PNGImage
InheritancePNGImage Inheritance PDFImage Inheritance Object
Subclasses DoPNGImage



Public Properties
 PropertyDefined By
 InheritedbitsPerComponent : int
PDFImage
  bytes : ByteArray
[override] [read-only]
PNGImage
 InheritedcolorSpace : String
PDFImage
 Inheritedfilter : String
[read-only]
PDFImage
 Inheritedheight : int
[read-only]
PDFImage
 Inheritedmasked : Boolean
[read-only]
PDFImage
 Inheritedn : int
PDFImage
 Inheritedpal : String
PDFImage
 Inheritedparameters : String
[read-only]
PDFImage
 InheritedresourceId : int
PDFImage
 Inheritedtransparency : String
[read-only]
PDFImage
 Inheritedwidth : int
[read-only]
PDFImage
Protected Properties
 PropertyDefined By
 Inherited_bitsPerComponent : int = 8
PDFImage
 Inherited_colorSpace : String
PDFImage
 Inheritedct : Number
PDFImage
 Inherited_filter : String
PDFImage
 Inherited_height : int
PDFImage
  idataBytes : ByteArray
PNGImage
 Inherited_masked : Boolean
PDFImage
 Inherited_n : int
PDFImage
 Inherited_pal : String
PDFImage
  palBytes : ByteArray
PNGImage
 Inherited_parameters : String
PDFImage
 Inheritedprogressive : Boolean
PDFImage
 Inherited_resourceId : int
PDFImage
 Inheritedstream : ByteArray
PDFImage
 Inherited_transparency : String
PDFImage
  type : int
PNGImage
 Inherited_width : int
PDFImage
Public Methods
 MethodDefined By
  
PNGImage(imageStream:ByteArray, colorSpace:String, id:int)
PNGImage
Protected Methods
 MethodDefined By
  
parse():void
[override]
PNGImage
Public Constants
 ConstantDefined By
  HEADER : int = 0x8950
[static]
PNGImage
  I1 : int = 1
[static]
PNGImage
  I16 : int = 16
[static]
PNGImage
  I2 : int = 2
[static]
PNGImage
  I3 : int = 3
[static]
PNGImage
  I4 : int = 4
[static]
PNGImage
  IDAT : int = 0x49444154
[static]
PNGImage
  IEND : int = 0x49454E44
[static]
PNGImage
  IO : int = 0
[static]
PNGImage
  PLTE : int = 0x504C5445
[static]
PNGImage
  TRNS : int = 0x74524E53
[static]
PNGImage
Property Detail
bytesproperty
bytes:ByteArray  [read-only] [override]


Implementation
    public function get bytes():ByteArray
idataBytesproperty 
protected var idataBytes:ByteArray

palBytesproperty 
protected var palBytes:ByteArray

typeproperty 
protected var type:int

Constructor Detail
PNGImage()Constructor
public function PNGImage(imageStream:ByteArray, colorSpace:String, id:int)



Parameters
imageStream:ByteArray
 
colorSpace:String
 
id:int
Method Detail
parse()method
override protected function parse():void

Constant Detail
HEADERConstant
public static const HEADER:int = 0x8950

I1Constant 
public static const I1:int = 1

I16Constant 
public static const I16:int = 16

I2Constant 
public static const I2:int = 2

I3Constant 
public static const I3:int = 3

I4Constant 
public static const I4:int = 4

IDATConstant 
public static const IDAT:int = 0x49444154

IENDConstant 
public static const IEND:int = 0x49454E44

IOConstant 
public static const IO:int = 0

PLTEConstant 
public static const PLTE:int = 0x504C5445

TRNSConstant 
public static const TRNS:int = 0x74524E53