2 * << Haru Free PDF Library >> -- hpdf_image.h
4 * URL: http://libharu.org
6 * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
7 * Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
9 * Permission to use, copy, modify, distribute and sell this software
10 * and its documentation for any purpose is hereby granted without fee,
11 * provided that the above copyright notice appear in all copies and
12 * that both that copyright notice and this permission notice appear
13 * in supporting documentation.
14 * It is provided "as is" without express or implied warranty.
21 #include "hpdf_objects.h"
28 HPDF_Image_Load1BitImageFromMem (HPDF_MMgr mmgr,
34 HPDF_BOOL top_is_first
38 #ifndef LIBHPDF_HAVE_NOPNGLIB
41 HPDF_Image_LoadPngImage (HPDF_MMgr mmgr,
44 HPDF_BOOL delayed_loading);
49 HPDF_Image_LoadJpegImage (HPDF_MMgr mmgr,
50 HPDF_Stream jpeg_data,
54 HPDF_Image_LoadJpegImageFromMem (HPDF_MMgr mmgr,
60 HPDF_Image_LoadRawImage (HPDF_MMgr mmgr,
65 HPDF_ColorSpace color_space);
69 HPDF_Image_LoadRawImageFromMem (HPDF_MMgr mmgr,
74 HPDF_ColorSpace color_space,
75 HPDF_UINT bits_per_component);
79 HPDF_Image_Validate (HPDF_Image image);
83 HPDF_Image_SetMask (HPDF_Image image,
87 HPDF_Image_SetColorSpace (HPDF_Image image,
88 HPDF_Array colorspace);
91 HPDF_Image_SetRenderingIntent (HPDF_Image image,
96 #endif /* __cplusplus */
98 #endif /* _HPDF_XOBJECTS_H */