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;
Thanks for reporting this, leak was fixed.
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 (http://galfar.vevb.net/imaging/smf/index.php/topic,267.0.html)
(http://s3.subirimagenes.com:81/otros/previo/thump_3021818error.jpg) (http://www.subirimagenes.com/otros-error-3021818.html)
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.