Ignore:
Timestamp:
Apr 17, 2019, 12:58:41 AM (5 years ago)
Author:
chronos
Message:
  • Modified: Propagate project build mode options to used packages.
  • Added: Check memory leaks using heaptrc.
  • Modified: Update BGRABitmap package.
Location:
GraphicTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest

    • Property svn:ignore
      •  

        old new  
        88GraphicTest.lps
        99GraphicTest.dbg
         10heaptrclog.trc
  • GraphicTest/Packages/bgrabitmap/bgrawritelzp.pas

    r494 r521  
    148148    begin
    149149      IncludeThumbnail := false;
    150       header.compressionMode:= CompressionMode;
     150      header.compressionMode:= CompressionMode; //update field for thumbnail
    151151    end;
    152152
    153153  header.previewOffset:= Str.Position - startPos;
    154154  if Compression = lzpRLE then
    155     WriteRLEImage(Str, Img)
     155    WriteRLEImage(Str, Img, Caption)
    156156  else
    157157  begin
    158158    compBmp := TBGRACompressableBitmap.Create(Img as TBGRABitmap);
     159    compBmp.Caption := Caption;
    159160    compBmp.WriteToStream(Str);
    160161    compBmp.Free;
Note: See TracChangeset for help on using the changeset viewer.