]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 16 Oct 2010 16:49:53 +0000 (16:49 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 16 Oct 2010 16:49:53 +0000 (16:49 +0000)
28 files changed:
config/configure.xml
config/delegates.xml
ltdl/ltdl.c
magick/image.c
magick/module.c
magick/option.c
magick/version.h
utilities/compare.1
utilities/compare.1.in
utilities/composite.1
utilities/composite.1.in
utilities/convert.1
utilities/convert.1.in
utilities/import.1
utilities/import.1.in
utilities/mogrify.1
utilities/mogrify.1.in
utilities/montage.1
utilities/montage.1.in
utilities/stream.1
utilities/stream.1.in
wand/compare.c
wand/composite.c
wand/convert.c
wand/import.c
wand/mogrify.c
wand/montage.c
wand/stream.c

index 50c7041d7ad7b443392c43f079d679c2b97d28ea..af8117a8ff725904609d23b81c151752435defdf 100644 (file)
@@ -9,7 +9,7 @@
   <configure name="NAME" value="ImageMagick"/>
   <configure name="LIB_VERSION" value="0x665"/>
   <configure name="LIB_VERSION_NUMBER" value="6,6,5,1"/>
-  <configure name="RELEASE_DATE" value="2010-10-14"/>
+  <configure name="RELEASE_DATE" value="2010-10-16"/>
   <configure name="CONFIGURE" value="./configure "/>
   <configure name="PREFIX" value="/usr/local"/>
   <configure name="EXEC-PREFIX" value="/usr/local"/>
index 8da9122e1a1c290cc9ea811476b2597b4946bda9..74b287de34bbbc96d073cee5c1cf34f072f8d505 100644 (file)
   <delegate decode="svg" command="&quot;rsvg&quot; &quot;%i&quot; &quot;%o&quot;"/>
   <delegate decode="txt" encode="ps" mode="bi" command="&quot;enscript&quot; -o &quot;%o&quot; &quot;%i&quot;"/>
   <delegate decode="miff" encode="win" stealth="True" spawn="True" command="&quot;/usr/local/bin/display&quot; -immutable -delay 0 -window-group %[group] -title &quot;%l of %f&quot; &quot;ephemeral:%i&quot;"/>
-  <delegate decode="webp" command="mv &quot;%i&quot; &quot;%i.webp&quot;;&quot;webpconv&quot; -format PNG &quot;%i.webp&quot;; convert &quot;%i.png&quot; &quot;%o&quot;;rm &quot;%i.webp&quot; &quot;%i.png&quot;"/>
+  <delegate decode="webp" command="cp &quot;%i&quot; &quot;%i.webp&quot;;&quot;webpconv&quot; -format PNG &quot;%i.webp&quot;; convert &quot;%i.png&quot; &quot;%o&quot;;rm &quot;%i.webp&quot; &quot;%i.png&quot;"/>
   <delegate decode="wmf" command="&quot;wmf2eps&quot; -o &quot;%o&quot; &quot;%i&quot;"/>
   <delegate decode="xps:color" stealth="True" command="&quot;gxps&quot; -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 &quot;-sDEVICE=ppmraw&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
   <delegate decode="xps:cmyk" stealth="True" command="&quot;gxps&quot; -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 &quot;-sDEVICE=bmpsep8&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
index 7c426351c7cdcf721764f8122569ea70052e518d..5313ed6e44a007095123dbc8610e02706d7df97b 100644 (file)
@@ -1511,7 +1511,7 @@ has_library_ext (const char *filename)
 
   assert (filename);
 
-  ext = strrchr (filename, '.');
+  ext = (char *) strrchr (filename, '.');
 
   if (ext && ((streq (ext, archive_ext))
 #if defined(LT_MODULE_EXT)
index 17e09bfec701a225425a5db3f9afbd07d8dd9b3d..a7652beb5dc7ec4e1afc40875b956c5cc9aacbd2 100644 (file)
@@ -1489,6 +1489,9 @@ MagickExport void GetImageException(Image *image,ExceptionInfo *exception)
 */
 MagickExport void GetImageInfo(ImageInfo *image_info)
 {
+  const char
+    *synchronize;
+
   ExceptionInfo
     *exception;
 
@@ -1504,6 +1507,9 @@ MagickExport void GetImageInfo(ImageInfo *image_info)
   image_info->quality=UndefinedCompressionQuality;
   image_info->antialias=MagickTrue;
   image_info->dither=MagickTrue;
+  synchronize=GetEnvironmentValue("MAGICK_SYNCHRONIZE");
+  if (synchronize != (const char *) NULL)
+    image_info->synchronize=IsMagickTrue(synchronize);
   exception=AcquireExceptionInfo();
   (void) QueryColorDatabase(BackgroundColor,&image_info->background_color,
     exception);
index 59d5191767fcd0227974ce126ccc5d8d12676f11..d441c8c5b86ac85f6add96b839b1b332b9b661e1 100644 (file)
@@ -1639,7 +1639,7 @@ MagickExport MagickBooleanType InvokeDynamicImageFilter(const char *tag,
 #else
   {
     extern size_t
-      analyzeImage(Image **,const int,char **,ExceptionInfo *);
+      analyzeImage(Image **,const int,const char **,ExceptionInfo *);
 
     ImageFilterHandler
       *image_filter;
index f3f0f4937667e00436e22df8357258619a0a12a2..709ae548d4a44a16beccf644532a0c34a3891b06 100644 (file)
@@ -615,6 +615,10 @@ static const OptionInfo
     { "-swap", 1L, MagickFalse },
     { "+swirl", 0L, MagickFalse },
     { "-swirl", 1L, MagickFalse },
+    { "+synchronize", 0L, MagickFalse },
+    { "-synchronize", 0L, MagickFalse },
+    { "+taint", 0L, MagickFalse },
+    { "-taint", 0L, MagickFalse },
     { "+text-font", 0L, MagickFalse },
     { "-text-font", 1L, MagickFalse },
     { "+texture", 0L, MagickFalse },
index b5110c4628bbbfd8ea224b46cdc279003a76caf9..2c5f02f1ec18fe5c196572699d3f79fe981fff73 100644 (file)
@@ -33,7 +33,7 @@ extern "C" {
 #define MagickLibAddendum  "-1"
 #define MagickLibInterface  4
 #define MagickLibMinInterface  4
-#define MagickReleaseDate  "2010-10-14"
+#define MagickReleaseDate  "2010-10-16"
 #define MagickChangeDate   "20101014"
 #define MagickAuthoritativeURL  "http://www.imagemagick.org"
 #if defined(MAGICKCORE_OPENMP_SUPPORT)
index 958502c1c5c3b00d819f9b3360a9f49d08f98291..5370de830ff59fa179ef2d3f11ae4432abaa3f99 100644 (file)
@@ -44,6 +44,8 @@ Image Settings:
   \-set attribute value set an image attribute
   \-size geometry       width and height of image
   \-subimage-search     search for subimage
+  \-synchronize         synchronize image to storage device
+  \-taint               declare the image as modified
   \-transparent-color color
                        transparent color
   \-type type           image type
index 38d3ece4e7b9bf8fe9aeacd712ef43001b2eab81..386ca80086a901fa09cbbfa169a756a474a9893d 100644 (file)
@@ -44,6 +44,8 @@ Image Settings:
   \-set attribute value set an image attribute
   \-size geometry       width and height of image
   \-subimage-search     search for subimage
+  \-synchronize         synchronize image to storage device
+  \-taint               declare the image as modified
   \-transparent-color color
                        transparent color
   \-type type           image type
index 682b55e3b6597106c17d87e3a1e9071c3a02e306..22716ec9284ecbde426f15e118a2cdb6c8cafca4 100644 (file)
@@ -52,6 +52,8 @@ Image Settings:
   \-seed value          seed a new sequence of pseudo-random numbers
   \-size geometry       width and height of image
   \-support factor      resize support: > 1.0 is blurry, < 1.0 is sharp
+  \-synchronize         synchronize image to storage device
+  \-taint               declare the image as modified
   \-transparent-color color
                        transparent color
   \-treedepth value     color tree depth
index 7bee28e378eb3a6c8f4f9c1cfcb87adb5190c557..2b3788d7314ec6fc878cb9d794639be46beb33ee 100644 (file)
@@ -52,6 +52,8 @@ Image Settings:
   \-seed value          seed a new sequence of pseudo-random numbers
   \-size geometry       width and height of image
   \-support factor      resize support: > 1.0 is blurry, < 1.0 is sharp
+  \-synchronize         synchronize image to storage device
+  \-taint               declare the image as modified
   \-transparent-color color
                        transparent color
   \-treedepth value     color tree depth
index 58fe750c7d8defa589c157d1fc0860f3e2f8690a..255737dca07766fb22edd411f3c074e0711aa9e8 100644 (file)
@@ -81,6 +81,8 @@ Image Settings:
   \-strokewidth value   graphic primitive stroke width
   \-style type          render text with this font style
   \-support factor      resize support: > 1.0 is blurry, < 1.0 is sharp
+  \-synchronize         synchronize image to storage device
+  \-taint               declare the image as modified
   \-texture filename    name of texture to tile onto the image background
   \-tile-offset geometry
                        tile offset
index a866b69067f797da03a3fa487ea73aee4c33708d..a0a1c86552ad523e7c27a96394e144c85cc2a4aa 100644 (file)
@@ -81,6 +81,8 @@ Image Settings:
   \-strokewidth value   graphic primitive stroke width
   \-style type          render text with this font style
   \-support factor      resize support: > 1.0 is blurry, < 1.0 is sharp
+  \-synchronize         synchronize image to storage device
+  \-taint               declare the image as modified
   \-texture filename    name of texture to tile onto the image background
   \-tile-offset geometry
                        tile offset
index ba2a5a187cba05439e87dd53b2752a70d425cf82..2c136d4b5c89cb96998d47ae77d4655340a246bd 100644 (file)
@@ -52,6 +52,8 @@ Image Settings:
   \-silent              operate silently, i.e. don't ring any bells 
   \-snaps value         number of screen snapshots
   \-support factor      resize support: > 1.0 is blurry, < 1.0 is sharp
+  \-synchronize         synchronize image to storage device
+  \-taint               declare the image as modified
   \-transparent-color color
                        transparent color
   \-treedepth value     color tree depth
index d3a797008e9eea8205ea65d1c92a4099d04b50b1..b6355a986b6c9a756a972c19e37d4209d0160c4c 100644 (file)
@@ -52,6 +52,8 @@ Image Settings:
   \-silent              operate silently, i.e. don't ring any bells 
   \-snaps value         number of screen snapshots
   \-support factor      resize support: > 1.0 is blurry, < 1.0 is sharp
+  \-synchronize         synchronize image to storage device
+  \-taint               declare the image as modified
   \-transparent-color color
                        transparent color
   \-treedepth value     color tree depth
index 3f289527cece8a3b4a444ca38c5361b0ef6717b3..eda7af90dd8ff2d194644767cc2c1e9ae22f78dc 100644 (file)
@@ -85,6 +85,8 @@ Image Settings:
   \-strokewidth value   graphic primitive stroke width
   \-style type          render text with this font style
   \-support factor      resize support: > 1.0 is blurry, < 1.0 is sharp
+  \-synchronize         synchronize image to storage device
+  \-taint               declare the image as modified
   \-texture filename    name of texture to tile onto the image background
   \-tile-offset geometry
                        tile offset
index e94e288556d00475e32757b1cbf6a2d1418c489f..090adba1b2edfee60c454ee5561c6bfab9e8795b 100644 (file)
@@ -85,6 +85,8 @@ Image Settings:
   \-strokewidth value   graphic primitive stroke width
   \-style type          render text with this font style
   \-support factor      resize support: > 1.0 is blurry, < 1.0 is sharp
+  \-synchronize         synchronize image to storage device
+  \-taint               declare the image as modified
   \-texture filename    name of texture to tile onto the image background
   \-tile-offset geometry
                        tile offset
index ccdabeb07f508fead0b7d04cabde61efcbf2906f..7e15f9927f3ebee32a977aeeeb19a9eff1a7977d 100644 (file)
@@ -67,6 +67,7 @@ Image Settings:
   \-size geometry       width and height of image
   \-stroke color        color to use when stroking a graphic primitive
   \-support factor      resize support: > 1.0 is blurry, < 1.0 is sharp
+  \-synchronize         synchronize image to storage device
   \-texture filename    name of texture to tile onto the image background
   \-thumbnail geometry  create a thumbnail of the image
   \-tile geometry       number of tiles per row and column
index b8dc97cddc1117835699eb35d0371d226791d962..abcbc1ed9f7bf77dbc025c255315bd8f6f935ac0 100644 (file)
@@ -67,6 +67,7 @@ Image Settings:
   \-size geometry       width and height of image
   \-stroke color        color to use when stroking a graphic primitive
   \-support factor      resize support: > 1.0 is blurry, < 1.0 is sharp
+  \-synchronize         synchronize image to storage device
   \-texture filename    name of texture to tile onto the image background
   \-thumbnail geometry  create a thumbnail of the image
   \-tile geometry       number of tiles per row and column
index 58e6eb227b9bf8a6c0f6ac7df881d75a80258bc3..8a2312e57f29a087c3f6a7f3a065ab528a025862 100644 (file)
@@ -34,6 +34,7 @@ Image Settings:
   \-set attribute value set an image attribute
   \-size geometry       width and height of image
   \-storage-type type   pixel storage type
+  \-synchronize         synchronize image to storage device
   \-transparent-color color
                        transparent color
   \-verbose             print detailed information about the image
index 3d23fe78acf7b0fcaff48d9137eeeb742703ad87..65fdc61aded1c976528c5e240066a4c935be8ca6 100644 (file)
@@ -34,6 +34,7 @@ Image Settings:
   \-set attribute value set an image attribute
   \-size geometry       width and height of image
   \-storage-type type   pixel storage type
+  \-synchronize         synchronize image to storage device
   \-transparent-color color
                        transparent color
   \-verbose             print detailed information about the image
index ad4aee4875cf0cce87432474849d1e2665827f8e..cb106405237391ef3aec3b25b2a141bb6c35f6de 100644 (file)
@@ -849,10 +849,14 @@ WandExport MagickBooleanType CompareImageCommand(ImageInfo *image_info,
             subimage_search=MagickTrue;
             break;
           }
+        if (LocaleCompare("synchronize",option+1) == 0)
+          break;
         ThrowCompareException(OptionError,"UnrecognizedOption",option)
       }
       case 't':
       {
+        if (LocaleCompare("taint",option+1) == 0)
+          break;
         if (LocaleCompare("transparent-color",option+1) == 0)
           {
             if (*option == '+')
index f2644a41ba82f6c9255bb49b3260d9c950084841..ee42e247269afc46928947a93bf775c2691b2e52 100644 (file)
@@ -315,6 +315,8 @@ static MagickBooleanType CompositeUsage(void)
       "-scene value         image scene number",
       "-seed value          seed a new sequence of pseudo-random numbers",
       "-size geometry       width and height of image",
+      "-synchronize         synchronize image to storage device",
+      "-taint               declare the image as modified",
       "-transparent-color color",
       "                     transparent color",
       "-treedepth value     color tree depth",
@@ -1425,10 +1427,14 @@ WandExport MagickBooleanType CompositeImageCommand(ImageInfo *image_info,
               ThrowCompositeInvalidArgumentException(option,argv[i]);
             break;
           }
+        if (LocaleCompare("synchronize",option+1) == 0)
+          break;
         ThrowCompositeException(OptionError,"UnrecognizedOption",option)
       }
       case 't':
       {
+        if (LocaleCompare("taint",option+1) == 0)
+          break;
         if (LocaleCompare("thumbnail",option+1) == 0)
           {
             if (*option == '+')
index ecef89c4361f0adb512141b197b564362142ded9..5df6d8b10b006341b7a388dd0af1b4af36ba4dd0 100644 (file)
@@ -387,7 +387,8 @@ static MagickBooleanType ConvertUsage(void)
       "-stroke color        graphic primitive stroke color",
       "-strokewidth value   graphic primitive stroke width",
       "-style type          render text with this font style",
-      "-taint               image as ineligible for bi-modal delegate",
+      "-synchronize         synchronize image to storage device",
+      "-taint               declare the image as modified",
       "-texture filename    name of texture to tile onto the image background",
       "-tile-offset geometry",
       "                     tile offset",
@@ -2661,6 +2662,8 @@ WandExport MagickBooleanType ConvertImageCommand(ImageInfo *image_info,
               ThrowConvertInvalidArgumentException(option,argv[i]);
             break;
           }
+        if (LocaleCompare("synchronize",option+1) == 0)
+          break;
         ThrowConvertException(OptionError,"UnrecognizedOption",option)
       }
       case 't':
index b897a357bf6bb1835eff98acf247dba148d5ec8f..772d404008c20f13b8e13ef6ad40801d602a197e 100644 (file)
@@ -172,6 +172,8 @@ static MagickBooleanType ImportUsage(void)
       "-set property value  set an image property",
       "-silent              operate silently, i.e. don't ring any bells ",
       "-snaps value         number of screen snapshots",
+      "-synchronize         synchronize image to storage device",
+      "-taint               declare the image as modified",
       "-transparent-color color",
       "                     transparent color",
       "-treedepth value     color tree depth",
@@ -1185,10 +1187,14 @@ WandExport MagickBooleanType ImportImageCommand(ImageInfo *image_info,
             i++;  /* deprecated */
             break;
           }
+        if (LocaleCompare("synchronize",option+1) == 0)
+          break;
         ThrowImportException(OptionError,"UnrecognizedOption",option);
       }
       case 't':
       {
+        if (LocaleCompare("taint",option+1) == 0)
+          break;
         if (LocaleCompare("thumnail",option+1) == 0)
           {
             if (*option == '+')
index 78fdff767da16e9c1af57517f0b6bf3dae3efd80..a0cada2d5aa440fdc5bd77c9b467998ac5105bff 100644 (file)
@@ -3867,7 +3867,8 @@ static MagickBooleanType MogrifyUsage(void)
       "-stroke color        graphic primitive stroke color",
       "-strokewidth value   graphic primitive stroke width",
       "-style type          render text with this font style",
-      "-taint               image as ineligible for bi-modal delegate",
+      "-synchronize         synchronize image to storage device",
+      "-taint               declare the image as modified",
       "-texture filename    name of texture to tile onto the image background",
       "-tile-offset geometry",
       "                     tile offset",
@@ -6063,6 +6064,8 @@ WandExport MagickBooleanType MogrifyImageCommand(ImageInfo *image_info,
               ThrowMogrifyInvalidArgumentException(option,argv[i]);
             break;
           }
+        if (LocaleCompare("synchronize",option+1) == 0)
+          break;
         ThrowMogrifyException(OptionError,"UnrecognizedOption",option)
       }
       case 't':
@@ -7340,6 +7343,16 @@ WandExport MagickBooleanType MogrifyImageInfo(ImageInfo *image_info,
             (void) SetImageOption(image_info,option+1,argv[i+1]);
             break;
           }
+        if (LocaleCompare("synchronize",option+1) == 0)
+          {
+            if (*option == '+')
+              {
+                image_info->synchronize=MagickFalse;
+                break;
+              }
+            image_info->synchronize=MagickTrue;
+            break;
+          }
         break;
       }
       case 't':
index 5a25eaec84e51452381d10dc28a45039de1f08d2..5fa2a9678f53c6b8fa3925fdcbb5c0acd580ae96 100644 (file)
@@ -187,6 +187,8 @@ static MagickBooleanType MontageUsage(void)
       "-shadow              add a shadow beneath a tile to simulate depth",
       "-size geometry       width and height of image",
       "-stroke color        color to use when stroking a graphic primitive",
+      "-synchronize         synchronize image to storage device",
+      "-taint               declare the image as modified",
       "-texture filename    name of texture to tile onto the image background",
       "-thumbnail geometry  create a thumbnail of the image",
       "-tile geometry       number of tiles per row and column",
@@ -1492,10 +1494,14 @@ WandExport MagickBooleanType MontageImageCommand(ImageInfo *image_info,
             i++;  /* deprecated */
             break;
           }
+        if (LocaleCompare("synchronize",option+1) == 0)
+          break;
         ThrowMontageException(OptionError,"UnrecognizedOption",option)
       }
       case 't':
       {
+        if (LocaleCompare("taint",option+1) == 0)
+          break;
         if (LocaleCompare("texture",option+1) == 0)
           {
             (void) CloneString(&montage_info->texture,(char *) NULL);
index 362253d60f184d3a5328a3f9573e63412097e779..95e48539252bcb18c75359ef94dff7a2e39ac649 100644 (file)
@@ -127,6 +127,8 @@ static MagickBooleanType StreamUsage(void)
       "-set attribute value set an image attribute",
       "-size geometry       width and height of image",
       "-storage-type type   pixel storage type",
+      "-synchronize         synchronize image to storage device",
+      "-taint               declare the image as modified",
       "-transparent-color color",
       "                     transparent color",
       "-verbose             print detailed information about the image",
@@ -688,10 +690,14 @@ WandExport MagickBooleanType StreamImageCommand(ImageInfo *image_info,
             SetStreamInfoStorageType(stream_info,(StorageType) type);
             break;
           }
+        if (LocaleCompare("synchronize",option+1) == 0)
+          break;
         ThrowStreamException(OptionError,"UnrecognizedOption",option)
       }
       case 't':
       {
+        if (LocaleCompare("taint",option+1) == 0)
+          break;
         if (LocaleCompare("transparent-color",option+1) == 0)
           {
             if (*option == '+')