- changed status to resolved
No BitmapCodecmanager for jpg available
Issue #84
resolved
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)
-
repo owner - Log in to comment
0.99f