Board index » delphi » jpeg qulity
Owen
![]() Delphi Developer |
jpeg qulity2006-01-26 01:26:54 AM delphi221 Hello: I have working with bmp fine, but I have to save this bmp image like jpg I work with jpeg.pas but the result image not have the same quality to bmp image, I change PixelFormat, Smoothing and CompressionQuality to 100 but the result image look like blurred. it is normal? how can I get jpg image with the same quality of bmp image? code: bmp := TBitmap.Create; jpeg := TJPEGImage.Create; try bmp.LoadFromFile('some.bmp'); jpeg.Assign(bmp); jpeg.SaveToFile(new.jpg'); finally bmp.Free; jpeg.Free; end; Best regards, Owen. |