Changeset 7119
- Timestamp:
- 03/15/12 09:24:43 (14 months ago)
- Location:
- ImageMagick/trunk/MagickWand
- Files:
-
- 2 edited
-
magick-image.c (modified) (4 diffs)
-
magick-wand.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/MagickWand/magick-image.c
r7106 r7119 403 403 Image *images) 404 404 { 405 /* if no images in wand, just add them, set wand->imagesas appropriate */405 /* if no images in wand, just add them, set current as appropriate */ 406 406 if (wand->images == (Image *) NULL) 407 407 { … … 421 421 return(MagickTrue); 422 422 } 423 /* Note you should never have 'insert_before' true when wand->imagesimage423 /* Note you should never have 'insert_before' true when current image 424 424 is not the first image in the wand! That is no insert before 425 wand->imagesimage, only after current image */425 current image, only after current image */ 426 426 427 427 /* if at last image append new images */ … … 432 432 return(MagickTrue); 433 433 } 434 /* otherwise insert new images, just after the wand->imagesimage */434 /* otherwise insert new images, just after the current image */ 435 435 InsertImageInList(&wand->images,images); 436 436 return(MagickTrue); … … 6835 6835 % MagickNextImage() sets the next image in the wand as the current image. 6836 6836 % It returns MagickTrue if their is another image to be processed. 6837 % 6837 % 6838 6838 % Returns MagickFalse when current image is already the last image 6839 6839 % in the wand (no more next images), at whcih point you can use -
ImageMagick/trunk/MagickWand/magick-wand.c
r7106 r7119 93 93 wand->images=DestroyImageList(wand->images); 94 94 wand->image_info=AcquireImageInfo(); 95 wand->insert_before=MagickFalse; 96 wand->image_pending=MagickFalse; 95 97 ClearMagickException(wand->exception); 96 98 wand->debug=IsEventLogging(); … … 140 142 clone_wand->image_info=CloneImageInfo(wand->image_info); 141 143 clone_wand->images=CloneImageList(wand->images,clone_wand->exception); 144 clone_wand->insert_before=MagickFalse; 145 clone_wand->image_pending=MagickFalse; 142 146 clone_wand->debug=IsEventLogging(); 143 147 if (clone_wand->debug != MagickFalse) … … 827 831 wand->images=GetFirstImageInList(wand->images); 828 832 wand->insert_before=MagickFalse; /* Insert/add after current (first) image */ 829 wand->image_pending=MagickTrue; /* NextImage will remain thisimage */833 wand->image_pending=MagickTrue; /* NextImage will set first image */ 830 834 } 831 835
Note: See TracChangeset
for help on using the changeset viewer.
