Open rose512.jpg and save it in the following formats: .png, .gif, .xpm and tiff.
void imgconv()
{
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)
- Author
- Valeriy Onuchin
Definition in file imgconv.C.