No BitmapCodecmanager for jpg available

Issue #84 resolved
Harry Stahl created an issue

This functions Fails under Linux:

function SaveJpegToStream(Bitmap: TBitmap; Stream: TStream): Boolean; var Surf: TBitmapSurface; begin Result := True; Surf := TBitmapSurface.Create; try Surf.Assign(Bitmap); if not TBitmapCodecManager.SaveToStream(Stream, Surf, '.jpg') then begin Result := false; end; finally Surf.Free; end; end;

Comments (1)

  1. Log in to comment