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

**URL:** <https://root-forum.cern.ch/t/warning-in-tasimage-paint-pdf-not-implemeted-yet/20122>\
**Category:** ROOT\
**Created:** [November 1, 2015, 8:27pm UTC](https://root-forum.cern.ch/t/warning-in-tasimage-paint-pdf-not-implemeted-yet/20122 "2015-11-01T20:27:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rnegrao](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/bc79bd/32.png) [@rnegrao](https://root-forum.cern.ch/u/rnegrao)\
**Post date:** [November 1, 2015, 8:27pm UTC](https://root-forum.cern.ch/t/warning-in-tasimage-paint-pdf-not-implemeted-yet/20122/1 "2015-11-01T20:27:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [November 2, 2015, 8:14am UTC](https://root-forum.cern.ch/t/warning-in-tasimage-paint-pdf-not-implemeted-yet/20122/2 "2015-11-02T08:14:57Z")

</div>

Save as PS
