• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 
22 November 2024, 02:54:18


Post reply

Other options

Shortcuts: ALT+S save/post or ALT+P preview

Topic summary

Posted by Galfar
 - 17 August 2009, 19:48:24
The leak you posted is not caused by PSD, none of the classes listed in leak report are used there. In fact no instance of most of these classes is even created in Imaging. Leak is probably somewhere in your application.
Posted by The_DuKe
 -  9 August 2009, 20:11:11
   
This error occurs even in the version 2.62 Delphi 2007 and 2009 but not in version 24.2 which is modified for delphi 2009 http://galfar.vevb.net/imaging/smf/index.php/topic,267.0.html

Posted by Galfar
 - 23 September 2008, 17:46:14
Thanks for reporting this, leak was fixed.
Posted by Sara
 - 23 September 2008, 12:17:20
Do though Memory Leak seems to be done when the PSD Format is preserved with 
Vampyre Imaging Library?

The system requirements is Delphi2007 & Vampyre Imaging Library Ver0.26.0. 


Projext Source Add ...  ReportMemoryLeaksOnShutdown := True;


procedure TForm1.Button2Click(Sender: TObject);
var Image : TMultiImage;
    Bitmap : TImagingBitmap;
begin
   Bitmap := TImagingBitmap.Create;
   Image := TMultiImage.Create;
   try
      Bitmap.Assign(Image1.Picture.Bitmap);
      Bitmap.AssignToImage(Image);
      Image.ConvertImages(ifR8G8B8);
      Image.SaveToFile('D:\test.psd'); //If this line doesn't exist, Leak is not done.
   finally
     Image.Free;
     Bitmap.Free;
   end;

end;
SMF spam blocked by CleanTalk