Class TPaintDotNetFile
Unit
Declaration
type TPaintDotNetFile = class(TBGRACustomLayeredBitmap)
Description
Layered image reader for Paint.NET
A Paint.NET image consists in three parts :
Xml header
Binary serialized information (contains layer information)
Compressed data (pixel data)
The class TPaintDotNetFile
do not read the Xml header. ComputeFlatImage builds the resulting image by using blending operations to merge layers.
Hierarchy
- TGraphic
- TBGRACustomLayeredBitmap
- TPaintDotNetFile
Overview
Methods
constructor Create; override; |
|
function GetLayerBitmapCopy(layer: integer): TBGRABitmap; override; |
|
function ToString: ansistring; override; |
|
function GetBlendOperation(Layer: integer): TBlendOperation; override; |
|
function GetHeight: integer; override; |
|
function GetLayerName(layer: integer): string; override; |
|
function GetLayerOpacity(layer: integer): byte; override; |
|
function GetLayerVisible(layer: integer): boolean; override; |
|
function GetNbLayers: integer; override; |
|
function GetWidth: integer; override; |
|
procedure Clear; override; |
|
procedure LoadFromFile(const filenameUTF8: string); override; |
|
procedure LoadFromStream(stream: TStream); override; |
|
procedure InternalLoadFromStream(stream: TStream); |
Description
Methods
constructor Create; override; |
|
This item has no description. Showing description inherited from TGraphic.Create.
|
function GetLayerBitmapCopy(layer: integer): TBGRABitmap; override; |
|
This item has no description. |
function ToString: ansistring; override; |
|
This item has no description. |
function GetBlendOperation(Layer: integer): TBlendOperation; override; |
|
This item has no description. |
function GetHeight: integer; override; |
|
This item has no description. Showing description inherited from TGraphic.GetHeight. Retrieves height |
function GetLayerName(layer: integer): string; override; |
|
This item has no description. |
function GetLayerOpacity(layer: integer): byte; override; |
|
This item has no description. |
function GetLayerVisible(layer: integer): boolean; override; |
|
This item has no description. |
function GetNbLayers: integer; override; |
|
This item has no description. |
function GetWidth: integer; override; |
|
This item has no description. Showing description inherited from TGraphic.GetWidth. Retrieves width |
procedure Clear; override; |
|
This item has no description. Showing description inherited from TGraphic.Clear. Clears the content |
procedure LoadFromFile(const filenameUTF8: string); override; |
|
This item has no description. Showing description inherited from TGraphic.LoadFromFile. Load the content from a given file |
procedure LoadFromStream(stream: TStream); override; |
|
This item has no description. Showing description inherited from TGraphic.LoadFromStream. Load the content from a given stream |
procedure InternalLoadFromStream(stream: TStream); |
|
This item has no description. |