Revision 6bef5d95c9c192b6cb1ddcb0cc19ca28e897739d authored by Rene Brun on 06 April 2005, 15:56:14 UTC, committed by Rene Brun on 06 April 2005, 15:56:14 UTC
Template implementation should be in header files (especially when the template class contains a ClassDef). git-svn-id: http://root.cern.ch/svn/root/trunk@11511 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 854d6f8
imgconv.C
void imgconv()
{
// Open rose512.jpg and save it in the following formats:
// .png, .gif, .xpm and tiff.
TImage *img = TImage::Open("rose512.jpg");
if (!img) {
printf("Could not create an image... exit\n");
return;
}
img->WriteImage("rose512.png");
img->WriteImage("rose512.gif");
img->WriteImage("rose512.xpm");
img->WriteImage("rose512.tiff");
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...