Class TBGRAWriterWebP

Unit

Declaration

type TBGRAWriterWebP = class(TFPCustomImageWriter)

Description

Extends the TFPCustomImageWriter to write the WebP image format

Hierarchy

Overview

Fields

Protected FLossless: boolean;
Protected FQualityPercent: Single;

Methods

Public constructor Create; override;
Protected procedure InternalWrite(Stream: TStream; Img: TFPCustomImage); override;

Properties

Public property Lossless: boolean read FLossless write FLossless;
Public property QualityPercent: single read FQualityPercent write FQualityPercent;

Description

Fields

Protected FLossless: boolean;

This item has no description.

Protected FQualityPercent: Single;

This item has no description.

Methods

Public constructor Create; override;

This item has no description.

Protected procedure InternalWrite(Stream: TStream; Img: TFPCustomImage); override;

This item has no description.

Properties

Public property Lossless: boolean read FLossless write FLossless;

If Lossless is set to True, the QualityPercent property is ignored

Public property QualityPercent: single read FQualityPercent write FQualityPercent;

Defines the quality when saving the file, 100 being the maximum but not necessarily lossless