MagickCore  6.8.9
profile.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2014 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.
6  obtain a copy of the License at
7 
8  http://www.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 "magick/string_.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 typedef struct _ProfileInfo
28 {
29  char
30  *name;
31 
32  size_t
34 
35  unsigned char
36  *info;
37 
38  size_t
40 } ProfileInfo;
41 
42 typedef enum
43 {
50 
51 extern MagickExport char
52  *GetNextImageProfile(const Image *);
53 
54 extern MagickExport const StringInfo
55  *GetImageProfile(const Image *,const char *);
56 
58  CloneImageProfiles(Image *,const Image *),
59  DeleteImageProfile(Image *,const char *),
60  ProfileImage(Image *,const char *,const void *,const size_t,
61  const MagickBooleanType),
62  SetImageProfile(Image *,const char *,const StringInfo *),
64 
66  *RemoveImageProfile(Image *,const char *);
67 
68 extern MagickExport void
71 
72 #if defined(__cplusplus) || defined(c_plusplus)
73 }
74 #endif
75 #endif
Definition: profile.h:47
MagickExport MagickBooleanType DeleteImageProfile(Image *, const char *)
struct _ProfileInfo ProfileInfo
unsigned char * info
Definition: profile.h:36
Definition: image.h:152
Definition: string_.h:29
MagickExport MagickBooleanType SyncImageProfiles(Image *)
Definition: profile.c:2170
MagickBooleanType
Definition: magick-type.h:211
MagickExport MagickBooleanType SetImageProfile(Image *, const char *, const StringInfo *)
size_t signature
Definition: profile.h:39
MagickExport void DestroyImageProfiles(Image *)
MagickExport StringInfo * RemoveImageProfile(Image *, const char *)
Definition: profile.c:1281
MagickExport char * GetNextImageProfile(const Image *)
Definition: profile.c:308
Definition: profile.h:27
Definition: profile.h:45
MagickExport const StringInfo * GetImageProfile(const Image *, const char *)
Definition: profile.c:265
RenderingIntent
Definition: profile.h:42
Definition: profile.h:48
MagickExport MagickBooleanType CloneImageProfiles(Image *, const Image *)
size_t length
Definition: profile.h:33
Definition: profile.h:44
char * name
Definition: profile.h:30
Definition: profile.h:46
#define MagickExport
Definition: method-attribute.h:98
MagickExport void ResetImageProfileIterator(const Image *)
Definition: profile.c:1338
MagickExport MagickBooleanType ProfileImage(Image *, const char *, const void *, const size_t, const MagickBooleanType)