MagickCore  7.0.9
Convert, Edit, Or Compose Bitmap Images
profile.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2020 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License. You may
6  obtain a copy of the License at
7 
8  https://imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickCore image profile methods.
17 */
18 #ifndef MAGICKCORE_PROFILE_H
19 #define MAGICKCORE_PROFILE_H
20 
21 #include "MagickCore/string_.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 typedef struct _ProfileInfo
29 
30 typedef enum
31 {
38 
39 extern MagickExport char
40  *GetNextImageProfile(const Image *);
41 
42 extern MagickExport const StringInfo
43  *GetImageProfile(const Image *,const char *);
44 
46  CloneImageProfiles(Image *,const Image *),
47  DeleteImageProfile(Image *,const char *),
48  ProfileImage(Image *,const char *,const void *,const size_t,ExceptionInfo *),
49  SetImageProfile(Image *,const char *,const StringInfo *,ExceptionInfo *);
50 
52  *RemoveImageProfile(Image *,const char *);
53 
54 extern MagickExport void
57 
58 #if defined(__cplusplus) || defined(c_plusplus)
59 }
60 #endif
61 #endif
Definition: profile.h:35
MagickExport MagickBooleanType DeleteImageProfile(Image *image, const char *name)
Definition: profile.c:194
Definition: exception.h:101
MagickExport void DestroyImageProfiles(Image *image)
Definition: profile.c:228
Definition: image.h:151
Definition: string_.h:27
MagickBooleanType
Definition: magick-type.h:169
MagickExport MagickBooleanType CloneImageProfiles(Image *image, const Image *clone_image)
Definition: profile.c:151
MagickExport const StringInfo * GetImageProfile(const Image *image, const char *name)
Definition: profile.c:258
Definition: profile.c:102
Definition: profile.h:33
MagickExport StringInfo * RemoveImageProfile(Image *image, const char *name)
Definition: profile.c:1279
MagickExport char * GetNextImageProfile(const Image *image)
Definition: profile.c:297
RenderingIntent
Definition: profile.h:30
MagickExport MagickBooleanType SetImageProfile(Image *image, const char *name, const StringInfo *profile, ExceptionInfo *exception)
Definition: profile.c:1726
Definition: profile.h:36
Definition: profile.h:32
Definition: profile.h:34
MagickExport void ResetImageProfileIterator(const Image *image)
Definition: profile.c:1320
#define MagickExport
Definition: method-attribute.h:80
MagickExport MagickBooleanType ProfileImage(Image *image, const char *name, const void *datum, const size_t length, ExceptionInfo *exception)
Definition: profile.c:810