MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
deprecate.c
Go to the documentation of this file.
1 /*
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 % %
4 % %
5 % %
6 % DDDD EEEEE PPPP RRRR EEEEE CCCC AAA TTTTT EEEEE %
7 % D D E P P R R E C A A T E %
8 % D D EEE PPPPP RRRR EEE C AAAAA T EEE %
9 % D D E P R R E C A A T E %
10 % DDDD EEEEE P R R EEEEE CCCC A A T EEEEE %
11 % %
12 % %
13 % MagickCore Deprecated Methods %
14 % %
15 % Software Design %
16 % Cristy %
17 % October 2002 %
18 % %
19 % %
20 % Copyright 1999-2018 ImageMagick Studio LLC, a non-profit organization %
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 % https://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 %
37 %
38 */
39 
40 /*
41  Include declarations.
42 */
43 #include "MagickCore/studio.h"
44 #include "MagickCore/property.h"
45 #include "MagickCore/blob.h"
47 #include "MagickCore/cache.h"
48 #include "MagickCore/cache-view.h"
49 #include "MagickCore/client.h"
50 #include "MagickCore/color.h"
52 #include "MagickCore/colormap.h"
54 #include "MagickCore/colorspace.h"
55 #include "MagickCore/composite.h"
57 #include "MagickCore/constitute.h"
58 #include "MagickCore/draw.h"
60 #include "MagickCore/effect.h"
61 #include "MagickCore/enhance.h"
62 #include "MagickCore/exception.h"
64 #include "MagickCore/fx.h"
65 #include "MagickCore/geometry.h"
66 #include "MagickCore/identify.h"
67 #include "MagickCore/image.h"
69 #include "MagickCore/list.h"
70 #include "MagickCore/log.h"
71 #include "MagickCore/memory_.h"
72 #include "MagickCore/magick.h"
73 #include "MagickCore/monitor.h"
75 #include "MagickCore/morphology.h"
76 #include "MagickCore/paint.h"
77 #include "MagickCore/pixel.h"
79 #include "MagickCore/quantize.h"
80 #include "MagickCore/random_.h"
81 #include "MagickCore/resource_.h"
82 #include "MagickCore/semaphore.h"
83 #include "MagickCore/segment.h"
84 #include "MagickCore/splay-tree.h"
85 #include "MagickCore/statistic.h"
86 #include "MagickCore/string_.h"
87 #include "MagickCore/threshold.h"
88 #include "MagickCore/transform.h"
89 #include "MagickCore/utility.h"
90 
91 #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED)
92 
93 /*
94 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
95 % %
96 % %
97 % %
98 + G e t M a g i c k S e e k a b l e S t r e a m %
99 % %
100 % %
101 % %
102 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
103 %
104 % GetMagickSeekableStream() returns MagickTrue if the magick supports a
105 % seekable stream.
106 %
107 % The format of the GetMagickSeekableStream method is:
108 %
109 % MagickBooleanType GetMagickSeekableStream(const MagickInfo *magick_info)
110 %
111 % A description of each parameter follows:
112 %
113 % o magick_info: The magick info.
114 %
115 */
117  const MagickInfo *magick_info)
118 {
119  assert(magick_info != (MagickInfo *) NULL);
120  assert(magick_info->signature == MagickCoreSignature);
121  return(((magick_info->flags & CoderSeekableStreamFlag) == 0) ? MagickFalse :
122  MagickTrue);
123 }
124 
125 #endif
size_t signature
Definition: magick.h:93
#define MagickCoreSignature
MagickBooleanType
Definition: magick-type.h:156
MagickExport MagickBooleanType GetMagickSeekableStream(const MagickInfo *magick_info)
Definition: deprecate.c:116
MagickStatusType flags
Definition: magick.h:87
#define MagickExport