Funktioniert dieses eventuell so?
Delphi-Quellcode:
procedure TForm2.btn11Click(Sender: TObject);
var
PNGImage: TPNGImage;
Image: IGPImage;
begin
PNGImage := TPNGImage.Create;
PNGImage.LoadFromFile('[Dateipfad]');
Image := IGPImage.Create;
Image.Picture.Bitmap.Assign(PNGImage);
...