MagickCore  7.0.8
Convert, Edit, Or Compose Bitmap Images
property.c File Reference
#include "MagickCore/studio.h"
#include "MagickCore/artifact.h"
#include "MagickCore/attribute.h"
#include "MagickCore/cache.h"
#include "MagickCore/cache-private.h"
#include "MagickCore/color.h"
#include "MagickCore/color-private.h"
#include "MagickCore/colorspace-private.h"
#include "MagickCore/compare.h"
#include "MagickCore/constitute.h"
#include "MagickCore/draw.h"
#include "MagickCore/effect.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/fx.h"
#include "MagickCore/fx-private.h"
#include "MagickCore/gem.h"
#include "MagickCore/geometry.h"
#include "MagickCore/histogram.h"
#include "MagickCore/image.h"
#include "MagickCore/layer.h"
#include "MagickCore/locale-private.h"
#include "MagickCore/list.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
#include "MagickCore/monitor.h"
#include "MagickCore/montage.h"
#include "MagickCore/option.h"
#include "MagickCore/policy.h"
#include "MagickCore/profile.h"
#include "MagickCore/property.h"
#include "MagickCore/quantum.h"
#include "MagickCore/resource_.h"
#include "MagickCore/splay-tree.h"
#include "MagickCore/signature.h"
#include "MagickCore/statistic.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/token.h"
#include "MagickCore/token-private.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
#include "MagickCore/version.h"
#include "MagickCore/xml-tree.h"
#include "MagickCore/xml-tree-private.h"
Include dependency graph for property.c:

Go to the source code of this file.

Macros

#define MaxDirectoryStack   16
 
#define EXIF_DELIMITER   "\n"
 
#define EXIF_NUM_FORMATS   12
 
#define EXIF_FMT_BYTE   1
 
#define EXIF_FMT_STRING   2
 
#define EXIF_FMT_USHORT   3
 
#define EXIF_FMT_ULONG   4
 
#define EXIF_FMT_URATIONAL   5
 
#define EXIF_FMT_SBYTE   6
 
#define EXIF_FMT_UNDEFINED   7
 
#define EXIF_FMT_SSHORT   8
 
#define EXIF_FMT_SLONG   9
 
#define EXIF_FMT_SRATIONAL   10
 
#define EXIF_FMT_SINGLE   11
 
#define EXIF_FMT_DOUBLE   12
 
#define TAG_EXIF_OFFSET   0x8769
 
#define TAG_GPS_OFFSET   0x8825
 
#define TAG_INTEROP_OFFSET   0xa005
 
#define EXIFMultipleValues(size, format, arg)
 
#define EXIFMultipleFractions(size, format, arg1, arg2)
 
#define WarnNoImageReturn(format, arg)
 
#define WarnNoImageInfoReturn(format, arg)
 
#define ExtendInterpretText(string_length)
 
#define AppendKeyValue2Text(key, value)
 
#define AppendString2Text(string)
 

Functions

MagickExport MagickBooleanType CloneImageProperties (Image *image, const Image *clone_image)
 
MagickExport MagickBooleanType DefineImageProperty (Image *image, const char *property, ExceptionInfo *exception)
 
MagickExport MagickBooleanType DeleteImageProperty (Image *image, const char *property)
 
MagickExport void DestroyImageProperties (Image *image)
 
MagickExport MagickBooleanType FormatImageProperty (Image *image, const char *property, const char *format,...)
 
static char * TracePSClippath (const unsigned char *, size_t)
 
static char * TraceSVGClippath (const unsigned char *, size_t, const size_t, const size_t)
 
static MagickBooleanType GetIPTCProperty (const Image *image, const char *key, ExceptionInfo *exception)
 
static int ReadPropertyByte (const unsigned char **p, size_t *length)
 
static signed int ReadPropertyMSBLong (const unsigned char **p, size_t *length)
 
static signed short ReadPropertyMSBShort (const unsigned char **p, size_t *length)
 
static MagickBooleanType Get8BIMProperty (const Image *image, const char *key, ExceptionInfo *exception)
 
static signed int ReadPropertySignedLong (const EndianType endian, const unsigned char *buffer)
 
static unsigned int ReadPropertyUnsignedLong (const EndianType endian, const unsigned char *buffer)
 
static signed short ReadPropertySignedShort (const EndianType endian, const unsigned char *buffer)
 
static unsigned short ReadPropertyUnsignedShort (const EndianType endian, const unsigned char *buffer)
 
static MagickBooleanType GetEXIFProperty (const Image *image, const char *property, ExceptionInfo *exception)
 
static MagickBooleanType GetICCProperty (const Image *image, const char *property, ExceptionInfo *exception)
 
static MagickBooleanType SkipXMPValue (const char *value)
 
static MagickBooleanType ValidateXMPProfile (const char *profile, const size_t length)
 
static MagickBooleanType GetXMPProperty (const Image *image, const char *property)
 
MagickExport const char * GetImageProperty (const Image *image, const char *property, ExceptionInfo *exception)
 
static const char * GetMagickPropertyLetter (ImageInfo *image_info, Image *image, const char letter, ExceptionInfo *exception)
 
MagickExport const char * GetMagickProperty (ImageInfo *image_info, Image *image, const char *property, ExceptionInfo *exception)
 
MagickExport const char * GetNextImageProperty (const Image *image)
 
MagickExport char * InterpretImageProperties (ImageInfo *image_info, Image *image, const char *embed_text, ExceptionInfo *exception)
 
MagickExport char * RemoveImageProperty (Image *image, const char *property)
 
MagickExport void ResetImagePropertyIterator (const Image *image)
 
MagickExport MagickBooleanType SetImageProperty (Image *image, const char *property, const char *value, ExceptionInfo *exception)
 

Macro Definition Documentation

◆ AppendKeyValue2Text

#define AppendKeyValue2Text (   key,
  value 
)
Value:
{ \
size_t length=strlen(key)+strlen(value)+2; \
if ((size_t) (q-interpret_text+length+1) >= extent) \
{ \
extent+=length; \
interpret_text=(char *) ResizeQuantumMemory(interpret_text,extent+ \
MaxTextExtent,sizeof(*interpret_text)); \
if (interpret_text == (char *) NULL) \
{ \
if (property_image != image) \
property_image=DestroyImage(property_image); \
if (property_info != image_info) \
property_info=DestroyImageInfo(property_info); \
return((char *) NULL); \
} \
q=interpret_text+strlen(interpret_text); \
} \
q+=FormatLocaleString(q,extent,"%s=%s\n",(key),(value)); \
} \
RestoreMSCWarning
#define DisableMSCWarning(nr)
Definition: studio.h:351
MagickExport ssize_t FormatLocaleString(char *magick_restrict string, const size_t length, const char *magick_restrict format,...)
Definition: locale.c:504
MagickExport void * ResizeQuantumMemory(void *memory, const size_t count, const size_t quantum)
Definition: memory.c:1338
#define MaxTextExtent
MagickExport ImageInfo * DestroyImageInfo(ImageInfo *image_info)
Definition: image.c:1248
MagickExport Image * DestroyImage(Image *image)
Definition: image.c:1177

Referenced by InterpretImageProperties().

◆ AppendString2Text

#define AppendString2Text (   string)
Value:
{ \
size_t length=strlen((string)); \
if ((size_t) (q-interpret_text+length+1) >= extent) \
{ \
extent+=length; \
interpret_text=(char *) ResizeQuantumMemory(interpret_text,extent+ \
MaxTextExtent,sizeof(*interpret_text)); \
if (interpret_text == (char *) NULL) \
{ \
if (property_image != image) \
property_image=DestroyImage(property_image); \
if (property_info != image_info) \
property_info=DestroyImageInfo(property_info); \
return((char *) NULL); \
} \
q=interpret_text+strlen(interpret_text); \
} \
(void) CopyMagickString(q,(string),extent); \
q+=length; \
} \
RestoreMSCWarning
#define DisableMSCWarning(nr)
Definition: studio.h:351
MagickExport void * ResizeQuantumMemory(void *memory, const size_t count, const size_t quantum)
Definition: memory.c:1338
#define MaxTextExtent
MagickExport size_t CopyMagickString(char *destination, const char *source, const size_t length)
Definition: string.c:755
MagickExport ImageInfo * DestroyImageInfo(ImageInfo *image_info)
Definition: image.c:1248
MagickExport Image * DestroyImage(Image *image)
Definition: image.c:1177

Referenced by InterpretImageProperties().

◆ EXIF_DELIMITER

#define EXIF_DELIMITER   "\n"

◆ EXIF_FMT_BYTE

#define EXIF_FMT_BYTE   1

Referenced by GetEXIFProperty().

◆ EXIF_FMT_DOUBLE

#define EXIF_FMT_DOUBLE   12

Referenced by GetEXIFProperty().

◆ EXIF_FMT_SBYTE

#define EXIF_FMT_SBYTE   6

Referenced by GetEXIFProperty().

◆ EXIF_FMT_SINGLE

#define EXIF_FMT_SINGLE   11

Referenced by GetEXIFProperty().

◆ EXIF_FMT_SLONG

#define EXIF_FMT_SLONG   9

Referenced by GetEXIFProperty().

◆ EXIF_FMT_SRATIONAL

#define EXIF_FMT_SRATIONAL   10

Referenced by GetEXIFProperty().

◆ EXIF_FMT_SSHORT

#define EXIF_FMT_SSHORT   8

Referenced by GetEXIFProperty().

◆ EXIF_FMT_STRING

#define EXIF_FMT_STRING   2

Referenced by GetEXIFProperty().

◆ EXIF_FMT_ULONG

#define EXIF_FMT_ULONG   4

Referenced by GetEXIFProperty().

◆ EXIF_FMT_UNDEFINED

#define EXIF_FMT_UNDEFINED   7

Referenced by GetEXIFProperty().

◆ EXIF_FMT_URATIONAL

#define EXIF_FMT_URATIONAL   5

Referenced by GetEXIFProperty().

◆ EXIF_FMT_USHORT

#define EXIF_FMT_USHORT   3

Referenced by GetEXIFProperty().

◆ EXIF_NUM_FORMATS

#define EXIF_NUM_FORMATS   12

◆ EXIFMultipleFractions

#define EXIFMultipleFractions (   size,
  format,
  arg1,
  arg2 
)
Value:
{ \
ssize_t \
component; \
\
size_t \
len; \
\
unsigned char \
*p1; \
\
len=0; \
p1=p; \
for (component=0; component < components; component++) \
{ \
len+=FormatLocaleString(buffer+len,MagickPathExtent-len,format", ", \
(arg1),(arg2)); \
if (len >= (MagickPathExtent-1)) \
p1+=size; \
} \
if (len > 1) \
buffer[len-2]='\0'; \
value=AcquireString(buffer); \
}
MagickExport ssize_t FormatLocaleString(char *magick_restrict string, const size_t length, const char *magick_restrict format,...)
Definition: locale.c:504
MagickExport char * AcquireString(const char *source)
Definition: string.c:129
#define MagickPathExtent

Referenced by GetEXIFProperty().

◆ EXIFMultipleValues

#define EXIFMultipleValues (   size,
  format,
  arg 
)
Value:
{ \
ssize_t \
component; \
\
size_t \
len; \
\
unsigned char \
*p1; \
\
len=0; \
p1=p; \
for (component=0; component < components; component++) \
{ \
len+=FormatLocaleString(buffer+len,MagickPathExtent-len,format", ",arg); \
if (len >= (MagickPathExtent-1)) \
p1+=size; \
} \
if (len > 1) \
buffer[len-2]='\0'; \
value=AcquireString(buffer); \
}
MagickExport ssize_t FormatLocaleString(char *magick_restrict string, const size_t length, const char *magick_restrict format,...)
Definition: locale.c:504
MagickExport char * AcquireString(const char *source)
Definition: string.c:129
#define MagickPathExtent

Referenced by GetEXIFProperty().

◆ ExtendInterpretText

#define ExtendInterpretText (   string_length)
Value:
{ \
size_t length=(string_length); \
if ((size_t) (q-interpret_text+length+1) >= extent) \
{ \
extent+=length; \
interpret_text=(char *) ResizeQuantumMemory(interpret_text,extent+ \
MaxTextExtent,sizeof(*interpret_text)); \
if (interpret_text == (char *) NULL) \
{ \
if (property_image != image) \
property_image=DestroyImage(property_image); \
if (property_info != image_info) \
property_info=DestroyImageInfo(property_info); \
return((char *) NULL); \
} \
q=interpret_text+strlen(interpret_text); \
} \
} \
RestoreMSCWarning
#define DisableMSCWarning(nr)
Definition: studio.h:351
MagickExport void * ResizeQuantumMemory(void *memory, const size_t count, const size_t quantum)
Definition: memory.c:1338
#define MaxTextExtent
MagickExport ImageInfo * DestroyImageInfo(ImageInfo *image_info)
Definition: image.c:1248
MagickExport Image * DestroyImage(Image *image)
Definition: image.c:1177

Referenced by InterpretImageProperties().

◆ MaxDirectoryStack

#define MaxDirectoryStack   16

Referenced by GetEXIFProperty().

◆ TAG_EXIF_OFFSET

#define TAG_EXIF_OFFSET   0x8769

Referenced by GetEXIFProperty().

◆ TAG_GPS_OFFSET

#define TAG_GPS_OFFSET   0x8825

Referenced by GetEXIFProperty().

◆ TAG_INTEROP_OFFSET

#define TAG_INTEROP_OFFSET   0xa005

Referenced by GetEXIFProperty().

◆ WarnNoImageInfoReturn

#define WarnNoImageInfoReturn (   format,
  arg 
)
Value:
if (image_info == (ImageInfo *) NULL ) { \
"NoImageInfoForProperty",format,arg); \
return((const char *) NULL); \
}
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:1064
#define GetMagickModule()
Definition: log.h:28

Referenced by GetMagickProperty(), and GetMagickPropertyLetter().

◆ WarnNoImageReturn

#define WarnNoImageReturn (   format,
  arg 
)
Value:
if (image == (Image *) NULL ) { \
"NoImageForProperty",format,arg); \
return((const char *) NULL); \
}
Definition: image.h:151
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:1064
#define GetMagickModule()
Definition: log.h:28

Referenced by GetMagickProperty(), and GetMagickPropertyLetter().

Function Documentation

◆ CloneImageProperties()

◆ DefineImageProperty()

MagickExport MagickBooleanType DefineImageProperty ( Image image,
const char *  property,
ExceptionInfo exception 
)

Definition at line 241 of file property.c.

References CopyMagickString(), MagickPathExtent, and SetImageProperty().

◆ DeleteImageProperty()

◆ DestroyImageProperties()

◆ FormatImageProperty()

MagickExport MagickBooleanType FormatImageProperty ( Image image,
const char *  property,
const char *  format,
  ... 
)

◆ Get8BIMProperty()

◆ GetEXIFProperty()

◆ GetICCProperty()

static MagickBooleanType GetICCProperty ( const Image image,
const char *  property,
ExceptionInfo exception 
)
static

◆ GetImageProperty()

◆ GetIPTCProperty()

static MagickBooleanType GetIPTCProperty ( const Image image,
const char *  key,
ExceptionInfo exception 
)
static

◆ GetMagickProperty()

MagickExport const char* GetMagickProperty ( ImageInfo image_info,
Image image,
const char *  property,
ExceptionInfo exception 
)

Definition at line 2815 of file property.c.

References _Image::alpha_trait, BasePath, _Image::colors, _Image::colorspace, _Image::columns, CommandOptionToMnemonic(), _Image::compose, _Image::compression, ConcatenateMagickString(), CopyMagickString(), _Image::debug, _ImageInfo::debug, _Image::depth, ExtensionPath, _Image::filename, _ImageInfo::filename, FormatLocaleString(), FormatMagickSize(), _Image::gamma, GetBlobSize(), GetImageArtifact(), GetImageDepth(), GetImageEntropy(), GetImageKurtosis(), GetImageListLength(), GetImageMean(), GetImageOption(), GetImageProfile(), GetImageRange(), GetMagickCopyright(), GetMagickModule, GetMagickPrecision(), GetMagickPropertyLetter(), GetMagickVersion(), GetNextImageProfile(), GetNumberColors(), GetPathComponent(), GetStringInfoDatum(), GetStringInfoLength(), HeadPath, _RectangleInfo::height, IdentifyImageType(), _Image::interlace, IsImageOpaque(), LocaleCompare(), LocaleLower(), LogMagickEvent(), _Image::magick, _Image::magick_columns, _Image::magick_filename, _Image::magick_rows, MagickBooleanOptions, MagickColorspaceOptions, MagickComposeOptions, MagickCompressOptions, MagickFalse, MagickInterlaceOptions, MagickOrientationOptions, MagickPathExtent, MagickResolutionOptions, MagickTypeOptions, MaxTextExtent, _ImageInfo::number_scenes, _Image::orientation, _Image::page, PerceptibleReciprocal(), _Image::quality, ResetImageProfileIterator(), _Image::resolution, _Image::rows, _Image::scene, _ImageInfo::scene, SetImageArtifact(), SetImageOption(), TraceEvent, UndefinedPixelTrait, _ImageInfo::unique, _Image::units, WarnNoImageInfoReturn, WarnNoImageReturn, _RectangleInfo::width, _PointInfo::x, and _PointInfo::y.

Referenced by InterpretImageProperties().

◆ GetMagickPropertyLetter()

static const char* GetMagickPropertyLetter ( ImageInfo image_info,
Image image,
const char  letter,
ExceptionInfo exception 
)
static

◆ GetNextImageProperty()

◆ GetXMPProperty()

◆ InterpretImageProperties()

MagickExport char* InterpretImageProperties ( ImageInfo image_info,
Image image,
const char *  embed_text,
ExceptionInfo exception 
)

Definition at line 3399 of file property.c.

References AcquireFxInfo(), AcquireImage(), AcquireString(), _PixelInfo::alpha, AlphaPixelChannel, AppendKeyValue2Text, AppendString2Text, _PixelInfo::black, BlackPixelChannel, _PixelInfo::blue, BluePixelChannel, CloneImageInfo(), CMYKColorspace, _Image::colorspace, _Image::columns, ConstantString(), _Image::debug, _ImageInfo::debug, DeleteImageArtifact(), DeleteImageOption(), DestroyFxInfo(), DestroyImage(), DestroyImageInfo(), DestroyString(), ExtendInterpretText, _Image::filename, _ImageInfo::filename, FileToString(), FormatLocaleString(), FxEvaluateChannelExpression(), GetColorTuple(), GetImageArtifact(), GetImageOption(), GetImageProperty(), GetMagickModule, GetMagickPrecision(), GetMagickProperty(), GetMagickPropertyLetter(), GetNextImageArtifact(), GetNextImageOption(), GetNextImageProperty(), GetPixelInfo(), GlobExpression(), _PixelInfo::green, GreenPixelChannel, IntensityPixelChannel, IsGlob(), IsPathAccessible(), IsRightsAuthorized(), LocaleNCompare(), LogMagickEvent(), MagickFalse, MagickPathExtent, MagickTrue, OptionError, OptionWarning, PathPolicyDomain, PolicyError, QuantumRange, QueryColorname(), ReadPolicyRights, _PixelInfo::red, RedPixelChannel, ResetImageArtifactIterator(), ResetImageOptionIterator(), ResetImagePropertyIterator(), _Image::rows, SetImageBackgroundColor(), SetImageExtent(), SVGCompliance, ThrowMagickException(), and TraceEvent.

Referenced by InvokeDelegate(), MontageImageList(), PolaroidImage(), and ReadImage().

◆ ReadPropertyByte()

static int ReadPropertyByte ( const unsigned char **  p,
size_t *  length 
)
inlinestatic

Definition at line 498 of file property.c.

References _ProfileInfo::length.

Referenced by Get8BIMProperty(), and GetEXIFProperty().

◆ ReadPropertyMSBLong()

static signed int ReadPropertyMSBLong ( const unsigned char **  p,
size_t *  length 
)
inlinestatic

Definition at line 510 of file property.c.

References _ProfileInfo::length.

Referenced by Get8BIMProperty(), TracePSClippath(), and TraceSVGClippath().

◆ ReadPropertyMSBShort()

static signed short ReadPropertyMSBShort ( const unsigned char **  p,
size_t *  length 
)
inlinestatic

Definition at line 550 of file property.c.

References _ProfileInfo::length.

Referenced by Get8BIMProperty(), TracePSClippath(), and TraceSVGClippath().

◆ ReadPropertySignedLong()

static signed int ReadPropertySignedLong ( const EndianType  endian,
const unsigned char *  buffer 
)
inlinestatic

Definition at line 741 of file property.c.

References LSBEndian.

Referenced by GetEXIFProperty().

◆ ReadPropertySignedShort()

static signed short ReadPropertySignedShort ( const EndianType  endian,
const unsigned char *  buffer 
)
inlinestatic

Definition at line 794 of file property.c.

References LSBEndian.

Referenced by GetEXIFProperty().

◆ ReadPropertyUnsignedLong()

static unsigned int ReadPropertyUnsignedLong ( const EndianType  endian,
const unsigned char *  buffer 
)
inlinestatic

Definition at line 773 of file property.c.

References LSBEndian.

Referenced by GetEXIFProperty().

◆ ReadPropertyUnsignedShort()

static unsigned short ReadPropertyUnsignedShort ( const EndianType  endian,
const unsigned char *  buffer 
)
inlinestatic

Definition at line 822 of file property.c.

References LSBEndian.

Referenced by GetEXIFProperty().

◆ RemoveImageProperty()

MagickExport char* RemoveImageProperty ( Image image,
const char *  property 
)

◆ ResetImagePropertyIterator()

◆ SetImageProperty()

MagickExport MagickBooleanType SetImageProperty ( Image image,
const char *  property,
const char *  value,
ExceptionInfo exception 
)

Definition at line 4125 of file property.c.

References AcquireImageInfo(), AddValueToSplayTree(), AllCompliance, _Image::background_color, CompareSplayTreeString(), _Image::compose, _Image::compression, ConstantString(), CopyMagickString(), _Image::debug, _Image::delay, DeleteImageProperty(), _Image::depth, DestroyImageInfo(), DestroyString(), _Image::dispose, _Image::filename, _ImageInfo::filename, FileToStringInfo(), _Image::gamma, GetMagickModule, GetPageGeometry(), _Image::gravity, GreaterValue, _Image::intensity, _Image::interpolate, _Image::iterations, LessValue, LocaleCompare(), LocaleNCompare(), LogMagickEvent(), _ImageInfo::magick, MagickColorspaceOptions, MagickComposeOptions, MagickCompressOptions, MagickCoreSignature, MagickDisposeOptions, MagickFalse, MagickGravityOptions, MagickIntentOptions, MagickInterpolateOptions, MagickPathExtent, MagickResolutionOptions, MagickTrue, NewSplayTree(), OptionError, _Image::page, ParseAbsoluteGeometry(), ParseCommandOption(), ParseGeometry(), _Image::properties, QueryColorCompliance(), RelinquishMagickMemory(), _Image::rendering_intent, _Image::resolution, _GeometryInfo::rho, RhoValue, SetImageColorspace(), SetImageInfo(), SetImageProfile(), _GeometryInfo::sigma, SigmaValue, _Image::signature, StringToDouble(), StringToUnsignedLong(), ThrowMagickException(), _Image::ticks_per_second, _Image::tile_offset, TraceEvent, _Image::units, _PointInfo::x, and _PointInfo::y.

Referenced by AutoThresholdImage(), DefineImageProperty(), FormatImageProperty(), Get8BIMProperty(), GetEXIFProperty(), GetICCProperty(), GetIPTCProperty(), PreviewImage(), ReadImage(), SignatureImage(), and ThumbnailImage().

◆ SkipXMPValue()

static MagickBooleanType SkipXMPValue ( const char *  value)
static

Definition at line 1727 of file property.c.

References MagickFalse, and MagickTrue.

Referenced by GetXMPProperty().

◆ TracePSClippath()

static char * TracePSClippath ( const unsigned char *  blob,
size_t  length 
)
static

◆ TraceSVGClippath()

static char * TraceSVGClippath ( const unsigned char *  blob,
size_t  length,
const size_t  columns,
const size_t  rows 
)

◆ ValidateXMPProfile()

static MagickBooleanType ValidateXMPProfile ( const char *  profile,
const size_t  length 
)
static

Definition at line 1740 of file property.c.

References MagickFalse, and MagickTrue.

Referenced by GetXMPProperty().