~ubuntu-branches/ubuntu/natty/imagemagick/natty-updates

1 by Colin Watson
Import upstream version 6.2.3.4
1
/*
2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3
%                                                                             %
4
%                                                                             %
5
%                                                                             %
6
%              M   M   OOO   N   N  TTTTT   AAA    GGGG  EEEEE                %
7
%              MM MM  O   O  NN  N    T    A   A  G      E                    %
8
%              M M M  O   O  N N N    T    AAAAA  G  GG  EEE                  %
9
%              M   M  O   O  N  NN    T    A   A  G   G  E                    %
10
%              M   M   OOO   N   N    T    A   A   GGGG  EEEEE                %
11
%                                                                             %
12
%                                                                             %
13
%              Montage Magick Image File Format Image via X11.                %
14
%                                                                             %
15
%                           Software Design                                   %
16
%                             John Cristy                                     %
17
%                              July 1992                                      %
18
%                                                                             %
19
%                                                                             %
1.1.7 by Nelson A. de Oliveira
Import upstream version 6.5.9.8
20
%  Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization      %
1 by Colin Watson
Import upstream version 6.2.3.4
21
%  dedicated to making software imaging solutions freely available.           %
22
%                                                                             %
23
%  You may not use this file except in compliance with the License.  You may  %
24
%  obtain a copy of the License at                                            %
25
%                                                                             %
26
%    http://www.imagemagick.org/script/license.php                            %
27
%                                                                             %
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.                                             %
33
%                                                                             %
34
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
35
%
36
%  Montage creates a composite by combining several separate images. The
37
%  images are tiled on the composite image with the name of the image
38
%  optionally appearing just below the individual tile.
39
%
40
%
41
*/
42

43
/*
44
  Include declarations.
45
*/
1.2.3 by Nelson A. de Oliveira
Import upstream version 6.5.7.7
46
#include "wand/studio.h"
1.1.3 by Kees Cook
Import upstream version 6.3.7.9.dfsg1
47
#include "wand/MagickWand.h"
1 by Colin Watson
Import upstream version 6.2.3.4
48

49
/*
50
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
51
%                                                                             %
52
%                                                                             %
53
%                                                                             %
54
%  M a i n                                                                    %
55
%                                                                             %
56
%                                                                             %
57
%                                                                             %
58
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
59
%
60
%
61
*/
62
int main(int argc,char **argv)
63
{
64
  ExceptionInfo
1.1.3 by Kees Cook
Import upstream version 6.3.7.9.dfsg1
65
    *exception;
1 by Colin Watson
Import upstream version 6.2.3.4
66
67
  ImageInfo
68
    *image_info;
69
70
  MagickBooleanType
71
    status;
72
1.1.3 by Kees Cook
Import upstream version 6.3.7.9.dfsg1
73
  MagickCoreGenesis(*argv,MagickTrue);
74
  exception=AcquireExceptionInfo();
1.2.3 by Nelson A. de Oliveira
Import upstream version 6.5.7.7
75
  image_info=AcquireImageInfo();
76
  status=MagickCommandGenesis(image_info,MontageImageCommand,argc,argv,
77
    (char **) NULL,exception);
78
  image_info=DestroyImageInfo(image_info);
1.1.3 by Kees Cook
Import upstream version 6.3.7.9.dfsg1
79
  exception=DestroyExceptionInfo(exception);
80
  MagickCoreTerminus();
1.2.3 by Nelson A. de Oliveira
Import upstream version 6.5.7.7
81
  return(status);
1 by Colin Watson
Import upstream version 6.2.3.4
82
}