mirror of https://github.com/GNOME/gimp.git
64 lines
2.7 KiB
C
64 lines
2.7 KiB
C
/* LIBGIMP - The GIMP Library
|
|
* Copyright (C) 1995-1997 Spencer Kimball and Peter Mattis
|
|
*
|
|
* gimplcms.h
|
|
* Copyright (C) 2014 Michael Natterer <mitch@gimp.org>
|
|
* Elle Stone <ellestone@ninedegreesbelow.com>
|
|
*
|
|
* This library is free software: you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 3 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see
|
|
* <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#if !defined (__GIMP_COLOR_H_INSIDE__) && !defined (GIMP_COLOR_COMPILATION)
|
|
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
|
#endif
|
|
|
|
#ifndef __GIMP_LCMS_H__
|
|
#define __GIMP_LCMS_H__
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
GimpColorProfile gimp_lcms_profile_open_from_file (const gchar *filename,
|
|
GError **error);
|
|
GimpColorProfile gimp_lcms_profile_open_from_data (const guint8 *data,
|
|
gsize length,
|
|
GError **error);
|
|
guint8 * gimp_lcms_profile_save_to_data (GimpColorProfile profile,
|
|
gsize *length,
|
|
GError **error);
|
|
|
|
gchar * gimp_lcms_profile_get_description (GimpColorProfile profile);
|
|
gchar * gimp_lcms_profile_get_manufacturer (GimpColorProfile profile);
|
|
gchar * gimp_lcms_profile_get_model (GimpColorProfile profile);
|
|
gchar * gimp_lcms_profile_get_copyright (GimpColorProfile profile);
|
|
|
|
gchar * gimp_lcms_profile_get_label (GimpColorProfile profile);
|
|
gchar * gimp_lcms_profile_get_summary (GimpColorProfile profile);
|
|
|
|
gboolean gimp_lcms_profile_is_equal (GimpColorProfile profile1,
|
|
GimpColorProfile profile2);
|
|
|
|
gboolean gimp_lcms_profile_is_rgb (GimpColorProfile profile);
|
|
gboolean gimp_lcms_profile_is_cmyk (GimpColorProfile profile);
|
|
|
|
GimpColorProfile gimp_lcms_create_srgb_profile (void);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GIMP_LCMS_H__ */
|