Warning in <TASImage::Paint>: PDF not implemeted yet

Dear Developers

I’m trying to create a canvas where I draw a .png figure using a TImage class. I need the canvas to be saved as .pdf, however when I save as .pdf the the figure is not saved. There is a solution for this?

Bellow follow the macro:

{ TCanvas *c=new TCanvas("c","c",600,600); TImage *logo = TImage::Open("AliceLogo.png"); logo->Draw(); c->SaveAs("test.pdf"); }

Thanks in advance

Best regards

Renato.

Save as PS