2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6 % AAA N N IIIII M M AAA TTTTT EEEEE %
7 % A A NN N I MM MM A A T E %
8 % AAAAA N N N I M M M AAAAA T EEE %
9 % A A N NN I M M A A T E %
10 % A A N N IIIII M M A A T EEEEE %
13 % Interactively Animate an Image Sequence. %
20 % Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization %
21 % dedicated to making software imaging solutions freely available. %
23 % You may not use this file except in compliance with the License. You may %
24 % obtain a copy of the License at %
26 % http://www.imagemagick.org/script/license.php %
28 % Unless required by applicable law or agreed to in writing, software %
29 % distributed under the License is distributed on an "AS IS" BASIS, %
30 % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. %
31 % See the License for the specific language governing permissions and %
32 % limitations under the License. %
34 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
36 % Animate displays a sequence of images in the MIFF format on any
37 % workstation display running an X server. Animate first determines the
38 % hardware capabilities of the workstation. If the number of unique
39 % colors in an image is less than or equal to the number the workstation
40 % can support, the image is displayed in an X window. Otherwise the
41 % number of colors in the image is first reduced to match the color
42 % resolution of the workstation before it is displayed.
44 % This means that a continuous-tone 24 bits-per-pixel image can display on a
45 % 8 bit pseudo-color device or monochrome device. In most instances the
46 % reduced color image closely resembles the original. Alternatively, a
47 % monochrome or pseudo-color image can display on a continuous-tone 24
48 % bits-per-pixel device.
53 #include "wand/studio.h"
54 #include "wand/MagickWand.h"
57 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
65 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
70 #if defined(MAGICKCORE_WINDOWS_SUPPORT)
71 int WINAPI WinMain(HINSTANCE instance,HINSTANCE last,LPSTR command,int state)
83 argv=StringToArgv(command,&argc);
84 return(main(argc,argv));
88 int main(int argc,char **argv)
99 MagickCoreGenesis(*argv,MagickTrue);
100 exception=AcquireExceptionInfo();
101 image_info=AcquireImageInfo();
102 status=MagickCommandGenesis(image_info,AnimateImageCommand,argc,argv,
103 (char **) NULL,exception);
104 image_info=DestroyImageInfo(image_info);
105 exception=DestroyExceptionInfo(exception);
106 MagickCoreTerminus();