Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Gimp/app/widgets/   (Gimp Bildeditor Version 3.2.0©)  Datei vom 14.2.2026 mit Größe 1 kB image not shown  

Quelle  gimp-babl.h   Sprache: C

 

/* GIMP - The GNU Image Manipulation Program
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 *
 * gimp-babl.h
 * Copyright (C) 2012 Michael Natterer <mitch@gimp.org>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */


#pragma once


void                gimp_babl_init                         (void);
void                gimp_babl_init_fishes                  (GimpInitStatusFunc  status_callback);

const gchar       * gimp_babl_format_get_description       (const Babl         *format);
GimpColorProfile  * gimp_babl_format_get_color_profile     (const Babl         *format);
GimpColorProfile  * gimp_babl_get_builtin_color_profile    (GimpImageBaseType   base_type,
                                                            GimpTRCType         trc);

GimpImageBaseType   gimp_babl_format_get_base_type         (const Babl         *format);
GimpComponentType   gimp_babl_format_get_component_type    (const Babl         *format);
GimpPrecision       gimp_babl_format_get_precision         (const Babl         *format);
GimpTRCType         gimp_babl_format_get_trc               (const Babl         *format);

GimpComponentType   gimp_babl_component_type               (GimpPrecision       precision);
GimpTRCType         gimp_babl_trc                          (GimpPrecision       precision);
GimpPrecision       gimp_babl_precision                    (GimpComponentType   component,
                                                            GimpTRCType         trc);

gboolean            gimp_babl_is_valid                     (GimpImageBaseType   base_type,
                                                            GimpPrecision       precision);
gboolean            gimp_babl_is_bounded                   (GimpPrecision       precision);

const Babl        * gimp_babl_format                       (GimpImageBaseType   base_type,
                                                            GimpPrecision       precision,
                                                            gboolean            with_alpha,
                                                            const Babl         *space);
const Babl        * gimp_babl_mask_format                  (GimpPrecision       precision);
const Babl        * gimp_babl_component_format             (GimpImageBaseType   base_type,
                                                            GimpPrecision       precision,
                                                            gint                index);

const Babl        * gimp_babl_format_change_component_type (const Babl          *format,
                                                            GimpComponentType    component);
const Babl        * gimp_babl_format_change_trc            (const Babl          *format,
                                                            GimpTRCType          trc);

gchar            ** gimp_babl_print_color                  (GeglColor           *color);

Messung
CHZG
889810095

¤ Dauer der Verarbeitung: 0.16 Sekunden  ¤

*Bot Zugriff