MagickCore
6.9.10
Convert, Edit, Or Compose Bitmap Images
|
Go to the documentation of this file.
18 #ifndef MAGICKCORE_PROFILE_H
19 #define MAGICKCORE_PROFILE_H
23 #if defined(__cplusplus) || defined(c_plusplus)
72 #if defined(__cplusplus) || defined(c_plusplus)
#define TAG_INTEROP_OFFSET
char * value
Definition: policy.c:85
#define MagickExport
Definition: method-attribute.h:80
MagickBooleanType debug
Definition: image.h:290
char filename[MaxTextExtent]
Definition: image.h:278
static void GetProfilesFromResourceBlock(Image *image, const StringInfo *resource_block)
Definition: profile.c:1543
MagickExport MagickBooleanType SetImageProgress(const Image *image, const char *tag, const MagickOffsetType offset, const MagickSizeType extent)
Definition: monitor.c:136
#define magick_unused(x)
Definition: method-attribute.h:105
@ PixelsPerCentimeterResolution
Definition: image.h:94
@ ColorSeparationType
Definition: image.h:59
@ DirectClass
Definition: magick-type.h:187
MagickExport SplayTreeInfo * NewSplayTree(int(*compare)(const void *, const void *), void *(*relinquish_key)(void *), void *(*relinquish_value)(void *))
Definition: splay-tree.c:1140
MagickExport void * RemoveNodeFromSplayTree(SplayTreeInfo *splay_tree, const void *key)
Definition: splay-tree.c:1300
#define magick_unreferenced(x)
Definition: method-attribute.h:106
@ SaturationIntent
Definition: profile.h:45
MagickExport MagickBooleanType ProfileImage(Image *image, const char *name, const void *datum, const size_t length, const MagickBooleanType magick_unused(clone))
Definition: profile.c:761
#define GetMagickModule()
Definition: log.h:29
MagickExport CacheView * DestroyCacheView(CacheView *cache_view)
Definition: cache-view.c:256
static signed int ReadProfileLong(const EndianType endian, unsigned char *buffer)
Definition: profile.c:1857
unsigned char * info
Definition: profile.h:36
MagickExport const char * GetImageProperty(const Image *image, const char *property)
Definition: property.c:2217
Definition: splay-tree.c:83
MagickExport char * GetNextImageProfile(const Image *image)
Definition: profile.c:314
#define MagickCoreSignature
Definition: method-attribute.h:86
MagickExport ssize_t FormatLocaleString(char *magick_restrict string, const size_t length, const char *magick_restrict format,...)
Definition: locale.c:502
static void WriteTo8BimProfile(Image *, const char *, const StringInfo *)
Definition: profile.c:1433
size_t signature
Definition: policy.c:96
MagickExport MagickBooleanType CloneImageProfiles(Image *, const Image *)
MagickExport const StringInfo * GetImageProfile(const Image *image, const char *name)
Definition: profile.c:275
MagickExport PixelPacket * GetCacheViewAuthenticPixels(CacheView *cache_view, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
Definition: cache-view.c:473
#define magick_restrict
Definition: MagickCore.h:41
struct _ProfileInfo ProfileInfo
#define SetPixelRed(pixel, value)
Definition: pixel-accessor.h:82
MagickExport size_t GetStringInfoLength(const StringInfo *string_info)
Definition: string.c:1304
MagickExport void DestroyImageProfiles(Image *)
static const unsigned char * ReadResourceLong(const unsigned char *p, unsigned int *quantum)
Definition: profile.c:1402
static void WriteProfileShort(const EndianType endian, const unsigned short value, unsigned char *p)
Definition: profile.c:1938
#define LCMSScaleTarget(pixel)
Definition: profile.c:108
#define SetPixelGreen(pixel, value)
Definition: pixel-accessor.h:77
static void WriteResourceLong(unsigned char *p, const unsigned int quantum)
Definition: profile.c:1420
static const unsigned char * ReadResourceShort(const unsigned char *p, unsigned short *quantum)
Definition: profile.c:1412
ProfileInfo iptc_profile
Definition: image.h:300
static void * DestroyProfile(void *profile)
Definition: profile.c:1390
Quantum IndexPacket
Definition: pixel.h:129
@ sRGBColorspace
Definition: colorspace.h:40
@ TrueColorMatteType
Definition: image.h:58
static void WriteProfileLong(const EndianType endian, const size_t value, unsigned char *p)
Definition: profile.c:1916
#define GetPixelRed(pixel)
Definition: pixel-accessor.h:50
MagickExport SplayTreeInfo * DestroySplayTree(SplayTreeInfo *splay_tree)
Definition: splay-tree.c:681
@ PixelsPerInchResolution
Definition: image.h:93
@ ColorSeparationMatteType
Definition: image.h:60
@ ResourceLimitError
Definition: exception.h:55
@ TransformEvent
Definition: log.h:52
@ XYZColorspace
Definition: colorspace.h:33
Definition: cache-view.c:66
static signed short ReadProfileMSBShort(unsigned char **p, size_t *length)
Definition: profile.c:1902
@ TrueColorType
Definition: image.h:57
#define ThrowBinaryImageException(severity, tag, context)
Definition: exception-private.h:35
@ AbsoluteIntent
Definition: profile.h:47
@ MagickTrue
Definition: magick-type.h:194
MagickExport StringInfo * RemoveImageProfile(Image *, const char *)
Definition: profile.c:1291
static MagickBooleanType SetImageProfileInternal(Image *, const char *, const StringInfo *, const MagickBooleanType)
Definition: profile.c:1711
#define GetPixelIndex(indexes)
Definition: pixel-accessor.h:44
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *magick_restrict cache_view, ExceptionInfo *exception)
Definition: cache-view.c:1000
MagickExport size_t CopyMagickString(char *destination, const char *source, const size_t length)
Definition: string.c:752
MagickExport StringInfo * AcquireStringInfo(const size_t length)
Definition: string.c:185
MagickExport MagickBooleanType CloneImageProfiles(Image *image, const Image *clone_image)
Definition: profile.c:148
EndianType
Definition: quantum.h:31
static signed int ReadProfileMSBLong(unsigned char **p, size_t *length)
Definition: profile.c:1889
@ TraceEvent
Definition: log.h:38
static int ReadProfileByte(unsigned char **p, size_t *length)
Definition: profile.c:1817
@ YUVColorspace
Definition: colorspace.h:38
static DoublePixelPacket ** DestroyPixelThreadSet(DoublePixelPacket **pixels)
Definition: quantize.c:1388
MagickExport void ResetImageProfileIterator(const Image *image)
Definition: profile.c:1348
@ ImageWarning
Definition: exception.h:46
MagickExport int LocaleNCompare(const char *p, const char *q, const size_t length)
Definition: locale.c:1542
static DoublePixelPacket ** AcquirePixelThreadSet(const size_t count)
Definition: quantize.c:1401
MagickExport void SetStringInfoDatum(StringInfo *string_info, const unsigned char *source)
Definition: string.c:1773
#define ThrowProfileException(severity, tag, context)
MagickExport IndexPacket * GetCacheViewAuthenticIndexQueue(CacheView *cache_view)
Definition: cache-view.c:564
MagickExport int CompareSplayTreeString(const void *target, const void *source)
Definition: splay-tree.c:411
size_t length
Definition: string_.h:38
MagickExport CacheView * AcquireAuthenticCacheView(const Image *image, ExceptionInfo *exception)
Definition: cache-view.c:111
@ GrayscaleMatteType
Definition: image.h:54
@ ImageError
Definition: exception.h:69
OrientationType orientation
Definition: image.h:167
unsigned char * datum
Definition: string_.h:35
MagickExport int LocaleCompare(const char *p, const char *q)
Definition: locale.c:1440
MagickExport char * GetNextImageProfile(const Image *)
Definition: profile.c:314
ColorspaceType
Definition: colorspace.h:26
MagickExport MagickBooleanType SetImageProfile(Image *image, const char *name, const StringInfo *profile)
Definition: profile.c:1787
MagickExport MagickBooleanType SyncImageProfiles(Image *image)
Definition: profile.c:2244
ResolutionType
Definition: image.h:91
double y_resolution
Definition: image.h:210
ExceptionInfo exception
Definition: image.h:287
double x_resolution
Definition: image.h:209
#define SetPixelBlue(pixel, value)
Definition: pixel-accessor.h:71
@ MagickFalse
Definition: magick-type.h:193
MagickBooleanType(* MagickProgressMonitor)(const char *, const MagickOffsetType, const MagickSizeType, void *)
Definition: monitor.h:26
MagickExport const void * GetValueFromSplayTree(SplayTreeInfo *splay_tree, const void *key)
Definition: splay-tree.c:920
#define GetPixelBlue(pixel)
Definition: pixel-accessor.h:38
MagickExport const void * GetNextKeyInSplayTree(SplayTreeInfo *splay_tree)
Definition: splay-tree.c:768
MagickExport void ResetImageProfileIterator(const Image *)
Definition: profile.c:1348
MagickExport MagickBooleanType ProfileImage(Image *, const char *, const void *, const size_t, const MagickBooleanType)
MagickExport void LocaleLower(char *string)
Definition: locale.c:1495
size_t signature
Definition: profile.h:39
MagickExport MagickBooleanType AddValueToSplayTree(SplayTreeInfo *splay_tree, const void *key, const void *value)
Definition: splay-tree.c:153
MagickExport void ResetSplayTreeIterator(SplayTreeInfo *splay_tree)
Definition: splay-tree.c:1473
MagickExport MagickBooleanType DeleteImageProfile(Image *image, const char *name)
Definition: profile.c:195
@ CMYKColorspace
Definition: colorspace.h:39
@ RelativeIntent
Definition: profile.h:48
MagickExport MagickBooleanType DeleteImageProfile(Image *, const char *)
MagickExport char * ConstantString(const char *source)
Definition: string.c:697
static MagickBooleanType Sync8BimProfile(Image *image, StringInfo *profile)
Definition: profile.c:1956
#define MaxDirectoryStack
size_t signature
Definition: image.h:307
MagickBooleanType
Definition: magick-type.h:192
MagickExport void * RelinquishMagickMemory(void *memory)
Definition: memory.c:1077
@ LSBEndian
Definition: quantum.h:33
Definition: exception.h:103
static MagickBooleanType SyncExifProfile(Image *image, StringInfo *profile)
Definition: profile.c:2018
#define SetPixelIndex(indexes, value)
Definition: pixel-accessor.h:78
#define LCMSScaleSource(pixel)
Definition: profile.c:107
static const unsigned char * ReadResourceByte(const unsigned char *p, unsigned char *quantum)
Definition: profile.c:1395
char * name
Definition: policy.c:83
@ GRAYColorspace
Definition: colorspace.h:29
MagickExport int CompareStringInfo(const StringInfo *target, const StringInfo *source)
Definition: string.c:376
MagickExport MagickBooleanType IsOptionMember(const char *option, const char *options)
Definition: option.c:2338
@ GrayscaleType
Definition: image.h:53
double LCMSType
Definition: profile.c:110
@ ThreadResource
Definition: resource_.h:33
MagickExport StringInfo * CloneStringInfo(const StringInfo *string_info)
Definition: string.c:336
RenderingIntent
Definition: profile.h:43
MagickExport SplayTreeInfo * CloneSplayTree(SplayTreeInfo *splay_tree, void *(*clone_key)(void *), void *(*clone_value)(void *))
Definition: splay-tree.c:345
@ UndefinedIntent
Definition: profile.h:44
MagickExport unsigned char * GetStringInfoDatum(const StringInfo *string_info)
Definition: string.c:1275
@ MSBEndian
Definition: quantum.h:34
char * name
Definition: profile.h:30
size_t length
Definition: profile.h:33
MagickExport MagickBooleanType ThrowMagickException(ExceptionInfo *exception, const char *module, const char *function, const size_t line, const ExceptionType severity, const char *tag, const char *format,...)
Definition: exception.c:1068
MagickExport MagickBooleanType SyncImageProfiles(Image *)
Definition: profile.c:2244
MagickExport StringInfo * DestroyStringInfo(StringInfo *string_info)
Definition: string.c:847
MagickExport MagickBooleanType SetImageStorageClass(Image *image, const ClassType storage_class)
Definition: image.c:2610
#define GetPixelGreen(pixel)
Definition: pixel-accessor.h:43
ProfileInfo color_profile
Definition: image.h:299
void * profiles
Definition: image.h:195
MagickExport MagickBooleanType LogMagickEvent(const LogEventType type, const char *module, const char *function, const size_t line, const char *format,...)
Definition: log.c:1399
MagickExport void DestroyImageProfiles(Image *image)
Definition: profile.c:245
#define MaxTextExtent
Definition: method-attribute.h:89
ResolutionType units
Definition: image.h:198
MagickExport const StringInfo * GetImageProfile(const Image *, const char *)
Definition: profile.c:275
@ LabColorspace
Definition: colorspace.h:32
static MagickBooleanType SetsRGBImageProfile(Image *image)
Definition: profile.c:469
MagickExport StringInfo * RemoveImageProfile(Image *image, const char *name)
Definition: profile.c:1291
static MagickBooleanType ValidateXMPProfile(const StringInfo *profile)
Definition: profile.c:1688
@ MissingDelegateWarning
Definition: exception.h:36
MagickExport MagickSizeType GetMagickResourceLimit(const ResourceType type)
Definition: resource.c:771
static signed short ReadProfileShort(const EndianType endian, unsigned char *buffer)
Definition: profile.c:1829
MagickExport void * AcquireQuantumMemory(const size_t count, const size_t quantum)
Definition: memory.c:544
@ PerceptualIntent
Definition: profile.h:46
ssize_t MagickOffsetType
Definition: magick-type.h:135
static int GetOpenMPThreadId(void)
Definition: thread-private.h:120
MagickExport MagickBooleanType SetImageProfile(Image *, const char *, const StringInfo *)
MagickExport MagickBooleanType DeleteNodeFromSplayTree(SplayTreeInfo *splay_tree, const void *key)
Definition: splay-tree.c:602
MagickExport MagickBooleanType SetImageColorspace(Image *image, const ColorspaceType colorspace)
Definition: colorspace.c:1189