]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 3 Feb 2013 19:01:05 +0000 (19:01 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 3 Feb 2013 19:01:05 +0000 (19:01 +0000)
MagickCore/image.c
MagickCore/image.h

index f32f938a10a211a88c0c5a3208ff7215260f0f08..ab6baa2eb395cd711a9bcf0e933984da6af64aa7 100644 (file)
@@ -205,6 +205,7 @@ MagickExport Image *AcquireImage(const ImageInfo *image_info,
   image->channel_mask=DefaultChannels;
   image->channel_map=AcquirePixelChannelMap();
   image->blob=CloneBlobInfo((BlobInfo *) NULL);
+  image->timestamp=time((time_t *) NULL);
   image->debug=IsEventLogging();
   image->reference_count=1;
   image->semaphore=AllocateSemaphoreInfo();
index 8534c4ae61d933dcaa1eb92819c2dd9c75f7ece5..d3c1f1b44fdc48e2b2ce641441c921bcf997507c 100644 (file)
@@ -304,6 +304,10 @@ struct _Image
   ProfileInfo
     *generic_profile;
 
+  void
+    *properties,       /* general settings, to save with image */
+    *artifacts;        /* general operational/coder settings, not saved */
+
   char
     filename[MaxTextExtent],        /* images input filename */
     magick_filename[MaxTextExtent], /* given image filename (with read mods) */
@@ -316,6 +320,9 @@ struct _Image
   BlobInfo
     *blob;             /* image file as in-memory string of 'extent' */
 
+  time_t
+    timestamp;
+
   MagickBooleanType
     debug;             /* debug output attribute */
 
@@ -325,10 +332,6 @@ struct _Image
   SemaphoreInfo
     *semaphore;
 
-  void
-    *properties,       /* general settings, to save with iamge */
-    *artifacts;        /* general operational/coder settings, not saved */
-
   const struct _ImageInfo
     *image_info;       /* (Optional) Image belongs to this ImageInfo 'list'
                         * For access to 'global options' when no per-image