[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TJPEGImage - a class for handling images stored in JPEG (compressed) format
Source position: graphics.pp line 1758
type TJPEGImage = class(TFPImageBitmap) |
||
protected |
||
procedure InitializeReader(); override; |
|
InitializeReader - starts up the specified reader to read th especified Image |
procedure InitializeWriter(); override; |
|
InitializeWriter - starts up the specified writer to store the specified Image |
procedure FinalizeReader(); override; |
|
FinalizeReader - ends the Image reading process |
protected |
||
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 |
class function GetSharedImageClass; override; |
|
GetSharedImageClass - returns the class of Shared Raster Image |
public |
||
constructor Create; override; |
|
Create - constructor for TJPEGImage: performs inherited Create then initialises local variables for performance, quality and encoding |
public |
||
class function IsStreamFormatSupported(); override; |
||
class function GetFileExtensions; override; |
|
GetFileExtensions - returns a list of the file extensions available |
public |
||
property CompressionQuality: TJPEGQualityRange; [rw] |
|
Determine the compression quality for this image |
property GrayScale: Boolean; [r] |
|
Is this a grayscale image? |
property ProgressiveEncoding: Boolean; [r] |
|
Is progressive encoding used for this JPEG? |
property Performance: TJPEGPerformance; [rw] |
|
Set for best quality or best speed |
end; |
|
TJPEGImage - a class for handling images stored in JPEG (compressed) format |
|
| | ||
|
A class of Bitmap using the FPImage reader and writer (ie customised for FreePascal) |
|
| | ||
|
TCustomBitMap - the base class for TBitmap |
|
| | ||
|
TRasterImage - base class for a number of graphic controls, including TCustomBitmap and TCustomIcon, which use a raster of dots to display graphic information |
|
| | ||
|
TGraphic - Base class for dealing with Graphic images |
|
| | ||
| | ||
JPEG images are very commonly used for storing digital photographs. They can represent detailed colour photos using a high degree of compression, resulting in very efficient storage, though with some loss of quality.
The properties CompressionQuality (an integer between 1 and 100, with 100 representing the best quality) and Performance (an enumerated variable with two states: BestQuality or BestSpeed ie compression) can be used to determine the balance between efficiency of storage and quality of picture.
lazarus-ccr.sourceforge.net |