• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Memory Leak

Started by Sara, 23 September 2008, 12:17:20

Previous topic - Next topic

Sara

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;

Galfar

Thanks for reporting this, leak was fixed.

The_DuKe

   
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


Galfar

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.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name:
Email:

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

SMF spam blocked by CleanTalk