Class TCustomJPEGImage (unit JpgImg)

Inherits from

TImage

@\\\*) (*@/// TCustomJPEGImage = class(TImage)

Constructors


constructor Create(AOwner: TComponent);

Constructor/destructor

@\\\0000000B05*) (*@\\\0000000201*) (*@/// TCustomJPEGImage=class(TImage) *) (*@/// constructor TCustomJPEGImage.



Functions

Destructor Destroy;

@\\\0000000D12*) (*@/// destructor TCustomJPEGImage.

procedure LoadFromFile(const s:string);

@\\\0000000701*) (*@/// procedure TCustomJPEGImage.

procedure LoadFromStream(value:TStream);

@\\\0000000201*) (*@/// procedure TCustomJPEGImage.

procedure SaveToFile(const s:string);

$endif *) (*@\\\0000004118*) (*@/// procedure TCustomJPEGImage.

procedure SaveToStream(value:TStream);

@\\\0000000306*) (*@/// procedure TCustomJPEGImage.

procedure parse_switches (cinfo : j_decompress_ptr; last_file_arg_seen : int; for_real : boolean);

@\\\*) (*@/// procedure TCustomJPEGImage.

procedure SetBoolValue(Index: Integer; Value: Boolean);

@\\\*) (*@/// procedure TCustomJPEGImage.

procedure SetDCTMethod(Value: TDCTMethod);

@\\\*) (*@/// procedure TCustomJPEGImage.

procedure SetDither(Value: TDither);

@\\\000000030D*) (*@/// procedure TCustomJPEGImage.

procedure SetFileName(Value: string);

@\\\0030000A06000A23000A06*) (*@/// procedure TCustomJPEGImage.

procedure SetNumOfColors(Value: TNumOfColors);

Procs for properties

@\\\0000001601*) (*@/// procedure TCustomJPEGImage.


procedure UpdateIMG;

@\\\*) (*@/// procedure TCustomJPEGImage.

Properties

property DCTMethod : TDCTMethod


property Dither : TDither


property FastProcessing : Boolean


property GrayScale : Boolean


property NoSmooth : Boolean


property NumOfColors : TNumOfColors


property Progressive : boolean


property ProgressStep : TDelta


property Quality : t_jpeg_quality


property FileName : string


Events

event OnePass : Boolean


event OnProgress : TNotifyEvent


Variables

FDCTMethod : TDCTMethod;


FDither : TDither;


FFastProcessing : Boolean;


FFileName : string;


FGrayScale : Boolean;


FNoSmooth : Boolean;


FNumOfColors : TNumOfColors;


FOnePass : Boolean;


FOnProgress : TNotifyEvent;


FProgressStep : TDelta;


f_progress : boolean;


f_quality : t_jpeg_quality;


F_Stream : TMemoryStream;



Constructors


constructor Create(AOwner: TComponent);

Constructor/destructor

@\\\0000000B05*) (*@\\\0000000201*) (*@/// TCustomJPEGImage=class(TImage) *) (*@/// constructor TCustomJPEGImage.Create(AOwner: TComponent);


Functions


Destructor Destroy;

@\\\0000000D12*) (*@/// destructor TCustomJPEGImage.Destroy;


procedure LoadFromFile(const s:string);

@\\\0000000701*) (*@/// procedure TCustomJPEGImage.LoadFromFile(const s:string);


procedure LoadFromStream(value:TStream);

@\\\0000000201*) (*@/// procedure TCustomJPEGImage.LoadFromStream(value: TStream);


procedure SaveToFile(const s:string);

$endif *) (*@\\\0000004118*) (*@/// procedure TCustomJPEGImage.SaveToFile(const s:string);


procedure SaveToStream(value:TStream);

@\\\0000000306*) (*@/// procedure TCustomJPEGImage.SaveToStream(value:TStream);


procedure parse_switches (cinfo : j_decompress_ptr; last_file_arg_seen : int; for_real : boolean);

@\\\*) (*@/// procedure TCustomJPEGImage.parse_switches (cinfo : j_decompress_ptr;


procedure SetBoolValue(Index: Integer; Value: Boolean);

@\\\*) (*@/// procedure TCustomJPEGImage.SetBoolValue(Index: Integer; Value: Boolean);


procedure SetDCTMethod(Value: TDCTMethod);

@\\\*) (*@/// procedure TCustomJPEGImage.SetDCTMethod(Value: TDCTMethod);


procedure SetDither(Value: TDither);

@\\\000000030D*) (*@/// procedure TCustomJPEGImage.SetDither(Value: TDither);


procedure SetFileName(Value: string);

@\\\0030000A06000A23000A06*) (*@/// procedure TCustomJPEGImage.SetFileName(Value: string);


procedure SetNumOfColors(Value: TNumOfColors);

Procs for properties

@\\\0000001601*) (*@/// procedure TCustomJPEGImage.SetNumOfColors(Value: TNumOfColors);


procedure UpdateIMG;

@\\\*) (*@/// procedure TCustomJPEGImage.UpdateIMG;


Properties


property DCTMethod : TDCTMethod


property Dither : TDither


property FastProcessing : Boolean


property GrayScale : Boolean


property NoSmooth : Boolean


property NumOfColors : TNumOfColors


property Progressive : boolean


property ProgressStep : TDelta


property Quality : t_jpeg_quality


property FileName : string


Events


event OnePass : Boolean


event OnProgress : TNotifyEvent


Variables


FDCTMethod : TDCTMethod;


FDither : TDither;


FFastProcessing : Boolean;


FFileName : string;


FGrayScale : Boolean;


FNoSmooth : Boolean;


FNumOfColors : TNumOfColors;


FOnePass : Boolean;


FOnProgress : TNotifyEvent;


FProgressStep : TDelta;


f_progress : boolean;


f_quality : t_jpeg_quality;


F_Stream : TMemoryStream;