Open rose512.jpg and save it in the following formats: .png, .gif, .xpm and tiff.
{
if (!img) {
printf("Could not create an image... exit\n");
return;
}
}
An abstract interface to image processing library.
static TImage * Open(const char *file, EImageFileTypes type=kUnknown)
Open a specified image file.
virtual void WriteImage(const char *, EImageFileTypes=TImage::kUnknown)
void imgconv(TCanvas *c, const TString &fname)
- Author
- Valeriy Onuchin
Definition in file imgconv.C.