Save canvas to PDF vs TImage/TASImage

Greetings,
with ROOT 5.16, it seems I cannot save a canvas containing a TImage/TASImage object to a PDF: the PDF file is properly created, but the Timage/TASImage object is missing.
I am creating the image from the SetData() method.
Is there something particular needed to save the canvas except of using the SaveAs() method ?

Thanks a lot

TASImage generates a bitmap. PDF is vector format output. The interface as not neen done yet. You can save as PS or EPS (the interface has been done for PostScript).

Thanks for the clarification.