1.1 diff -r 9a505be7e7fd -r 301f6f17c364 pdf.h 1.2 --- a/pdf.h Mon Dec 14 15:44:55 2009 +0000 1.3 +++ b/pdf.h Mon Dec 14 15:51:53 2009 +0000 1.4 @@ -92,6 +92,27 @@ 1.5 uint32_t height_samples, 1.6 FILE *f); 1.7 1.8 +void pdf_write_png_image (pdf_page_handle pdf_page, 1.9 + double x, 1.10 + double y, 1.11 + double width, 1.12 + double height, 1.13 + int color, 1.14 + char *pal, 1.15 + int palent, 1.16 + int bpp, 1.17 + uint32_t width_samples, 1.18 + uint32_t height_samples, 1.19 + FILE *f); 1.20 + 1.21 +void pdf_write_jp2_image (pdf_page_handle pdf_page, 1.22 + double x, 1.23 + double y, 1.24 + double width, 1.25 + double height, 1.26 + uint32_t width_samples, 1.27 + uint32_t height_samples, 1.28 + FILE *f); 1.29 1.30 void pdf_set_page_number (pdf_page_handle pdf_page, char *page_number); 1.31