1 /* LIBGIMP - The GIMP Library 2 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball 3 * 4 * gimpimagecolorprofile.h 5 * 6 * This library is free software: you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 3 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library. If not, see 18 * <https://www.gnu.org/licenses/>. 19 */ 20 21 #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) 22 #error "Only <libgimp/gimp.h> can be included directly." 23 #endif 24 25 #ifndef __GIMP_IMAGE_COLOR_PROFILE_H__ 26 #define __GIMP_IMAGE_COLOR_PROFILE_H__ 27 28 G_BEGIN_DECLS 29 30 /* For information look into the C source or the html documentation */ 31 32 33 GimpColorProfile * gimp_image_get_color_profile (gint32 image_ID); 34 gboolean gimp_image_set_color_profile (gint32 image_ID, 35 GimpColorProfile *profile); 36 37 GimpColorProfile * gimp_image_get_effective_color_profile (gint32 image_ID); 38 39 gboolean gimp_image_convert_color_profile (gint32 image_ID, 40 GimpColorProfile *profile, 41 GimpColorRenderingIntent intent, 42 gboolean bpc); 43 44 45 G_END_DECLS 46 47 #endif /* __GIMP_IMAGE_COLOR_PROFILE_H__ */ 48