]> granicus.if.org Git - imagemagick/commitdiff
Minor docs and notes
authoranthony <anthony@git.imagemagick.org>
Sat, 14 Apr 2012 12:54:41 +0000 (12:54 +0000)
committeranthony <anthony@git.imagemagick.org>
Sat, 14 Apr 2012 12:54:41 +0000 (12:54 +0000)
MagickCore/morphology.c
MagickCore/property.c

index a5896d2baf235d82692829d609f9ec8b599a5211..2bd8cff9d7ca5b6cc9bc668b6cb5dd99ed30cabf 100644 (file)
@@ -260,7 +260,9 @@ static KernelInfo *ParseKernelArray(const char *kernel_string)
   /* clear flags - for Expanding kernel lists thorugh rotations */
    flags = NoValue;
 
-  /* Has a ':' in argument - New user kernel specification */
+  /* Has a ':' in argument - New user kernel specification
+     FUTURE: this split on ':' could be done by StringToken()
+   */
   p = strchr(kernel_string, ':');
   if ( p != (char *) NULL && p < end)
     {
index 1713f8c0032487869163cc22b8642dc5338ab100..0be65ff6a7d4a38f7f24d310a5e54a48daf6fa92 100644 (file)
@@ -2562,6 +2562,9 @@ MagickExport char *GetNextImageProperty(const Image *image)
 %  InterpretImageProperties() replaces any embedded formatting characters with
 %  the appropriate image property and returns the interpreted text.
 %
+%  The returned interpreted text shoud be freed using DestoryString() or
+%  RelinquishMagickMemory() when finished.
+%
 %  The format of the InterpretImageProperties method is:
 %
 %      char *InterpretImageProperties(const ImageInfo *image_info,Image *image,