Lines Matching defs:image
1 // $Id: image.cpp 14574 2005-10-29 16:27:43Z bonefish $
2 // PDFlib client: image example in C++
15 int image;
17 // This is where font/image/PDF input files live. Adjust as necessary.
23 if (p->open_file("image.pdf") == -1) {
33 p->set_info("Creator", "image.cpp");
35 p->set_info("Title", "image sample (C++)!");
37 image = p->load_image("auto", imagefile, "");
39 if (image == -1) {
46 p->fit_image(image, (float) 0.0,(float) 0.0, "adjustpage");
47 p->close_image(image);