[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Graphics' (#lcl)

# TPortableNetworkGraphic

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TPortableNetworkGraphic - a PNG image

## Declaration

Source position: graphics.pp line 1486

`type TPortableNetworkGraphic = class(TFPImageBitmap)`
`class function GetReaderClass; override;` |  | GetReaderClass - returns the class of reader for acquiring data from a stream
`class function GetWriterClass; override;` |  | GetWriterClass - returns the class of writer for storing data to a stream
`protected`
`procedure InitializeWriter(); override;` |  | InitializeWriter - starts up the specified writer to store the specified Image
`protected`
`class function GetSharedImageClass; override;` |  | GetSharedImageClass - returns the class of Shared Raster Image
`class function IsStreamFormatSupported(); override;`
`class function GetFileExtensions; override;` |  | GetFileExtensions - returns a list of the file extensions available
`end;`

## Inheritance

`TPortableNetworkGraphic` |  | TPortableNetworkGraphic - a PNG image
`TFPImageBitmap` |  | A class of Bitmap using the FPImage reader and writer (ie customised for FreePascal)
`TCustomBitmap` |  | TCustomBitMap - the base class for TBitmap
`TRasterImage` |  | TRasterImage - base class for a number of graphic controls, including TCustomBitmap and TCustomIcon, which use a raster of dots to display graphic information
`TGraphic` |  | TGraphic - Base class for dealing with Graphic images
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .