Revision 5b5d22fc27783bd645341f12e906516285c450b4 authored by Rene Brun on 08 March 2004, 17:09:37 UTC, committed by Rene Brun on 08 March 2004, 17:09:37 UTC
instead of this macro, kept for back compatibility


git-svn-id: http://root.cern.ch/svn/root/trunk@8342 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 40d48b0
Raw File
rose_image.C
void rose_image()
{
   // Display image in a new canvas and pad.

   TImage *img = TImage::Open("rose512.jpg");
   if (!img) {
      printf("Could not create an image... exit\n");
      return;
   }

   img->SetConstRatio(0);
   img->SetImageQuality(TAttImage::kImgBest);
   img->Draw("N");
}
back to top