[Lazarus] TFPWriterJPEG quality

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Nov 18 12:12:55 CET 2015


On Wed, 18 Nov 2015 01:04:43 -0800
Aradeonas <aradeonas at operamail.com> wrote:

> Hi,
> 
> Why TFPWriterJPEG default quality is set to 75? I think there isnt need
> for this and if anyone want more compression he will set it.
> > constructor TFPWriterJPEG.Create; begin  inherited Create;
> > FQuality:=75;   end;
> 
> Also it is in TJPEGImage :
> > constructor TJPEGImage.Create; begin  inherited Create;  FPerformance
> > := jpBestQuality;  FProgressiveEncoding := False;  FGrayScale :=
> > False;  FQuality := 75;     end;

Quality must be set to a valid value. Why not 75?

Mattias




More information about the Lazarus mailing list