pdf.h

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