I am using Delphi XE3. I try to open a WMF file, with the following code:
var
Picture: TPicture;
begin
Picture := TPicture.Create();
Picture.LoadFromFile('E:\temp\thumbnail.wmf');
Picture.Free;
end;
But I will always get invalid graphic exception. I try to open the wmf file with other tools such as ACDSee and confirm the image is completed OK. Why Delphi cannot open it. I have tried different versions of Delphi but all fails.
The wmf file can be downloaded at https://www.dropbox.com/s/wcqdma42xlra07p/thumbnail.wmf?dl=0
Thanks