MagickCore  7.0.10
version.c
Go to the documentation of this file.
1 /*
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 % %
4 % %
5 % %
6 % V V EEEEE RRRR SSSSS IIIII OOO N N %
7 % V V E R R SS I O O NN N %
8 % V V EEE RRRR SSS I O O N N N %
9 % V V E R R SS I O O N NN %
10 % V EEEEE R R SSSSS IIIII OOO N N %
11 % %
12 % %
13 % MagickCore Version and Copyright Methods %
14 % %
15 % Software Design %
16 % Cristy %
17 % September 2002 %
18 % %
19 % %
20 % Copyright 1999-2020 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://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 #include "MagickCore/studio.h"
40 #include "MagickCore/configure.h"
41 #include "MagickCore/exception.h"
43 #include "MagickCore/linked-list.h"
44 #include "MagickCore/locale_.h"
45 #include "MagickCore/option.h"
46 #include "MagickCore/string_.h"
47 #include "MagickCore/utility.h"
49 #include "MagickCore/version.h"
51 
52 /*
53  Define declarations.
54 */
55 #define MagickURLFilename "index.html"
56 
57 /*
58 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
59 % %
60 % %
61 % %
62 % G e t M a g i c k C o p y r i g h t %
63 % %
64 % %
65 % %
66 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
67 %
68 % GetMagickCopyright() returns the ImageMagick API copyright as a string.
69 %
70 % The format of the GetMagickCopyright method is:
71 %
72 % const char *GetMagickCopyright(void)
73 %
74 */
76 {
77  return(MagickCopyright);
78 }
79 
80 /*
81 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
82 % %
83 % %
84 % %
85 % G e t M a g i c k D e l e g a t e s %
86 % %
87 % %
88 % %
89 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
90 %
91 % GetMagickDelegates() returns the ImageMagick delegate libraries.
92 %
93 % The format of the GetMagickDelegates method is:
94 %
95 % const char *GetMagickDelegates(void)
96 %
97 % No parameters are required.
98 %
99 */
101 {
102  return ""
103 #if defined(MAGICKCORE_AUTOTRACE_DELEGATE)
104  "autotrace "
105 #endif
106 #if defined(MAGICKCORE_BZLIB_DELEGATE)
107  "bzlib "
108 #endif
109 #if defined(MAGICKCORE_CAIRO_DELEGATE)
110  "cairo "
111 #endif
112 #if defined(MAGICKCORE_DJVU_DELEGATE)
113  "djvu "
114 #endif
115 #if defined(MAGICKCORE_DPS_DELEGATE)
116  "dps "
117 #endif
118 #if defined(MAGICKCORE_EMF_DELEGATE)
119  "emf "
120 #endif
121 #if defined(MAGICKCORE_FFTW_DELEGATE)
122  "fftw "
123 #endif
124 #if defined(MAGICKCORE_FLIF_DELEGATE)
125  "flif "
126 #endif
127 #if defined(MAGICKCORE_FONTCONFIG_DELEGATE)
128  "fontconfig "
129 #endif
130 #if defined(MAGICKCORE_FPX_DELEGATE)
131  "fpx "
132 #endif
133 #if defined(MAGICKCORE_FREETYPE_DELEGATE)
134  "freetype "
135 #endif
136 #if defined(MAGICKCORE_GS_DELEGATE) || defined(MAGICKCORE_WINDOWS_SUPPORT)
137  "gslib "
138 #endif
139 #if defined(MAGICKCORE_GVC_DELEGATE)
140  "gvc "
141 #endif
142 #if defined(MAGICKCORE_HEIC_DELEGATE)
143  "heic "
144 #endif
145 #if defined(MAGICKCORE_JBIG_DELEGATE)
146  "jbig "
147 #endif
148 #if defined(MAGICKCORE_JPEG_DELEGATE) && defined(MAGICKCORE_PNG_DELEGATE)
149  "jng "
150 #endif
151 #if defined(MAGICKCORE_LIBOPENJP2_DELEGATE)
152  "jp2 "
153 #endif
154 #if defined(MAGICKCORE_JPEG_DELEGATE)
155  "jpeg "
156 #endif
157 #if defined(MAGICKCORE_JXL_DELEGATE)
158  "jxl "
159 #endif
160 #if defined(MAGICKCORE_LCMS_DELEGATE)
161  "lcms "
162 #endif
163 #if defined(MAGICKCORE_LQR_DELEGATE)
164  "lqr "
165 #endif
166 #if defined(MAGICKCORE_LTDL_DELEGATE)
167  "ltdl "
168 #endif
169 #if defined(MAGICKCORE_LZMA_DELEGATE)
170  "lzma "
171 #endif
172 #if defined(MAGICKCORE_OPENEXR_DELEGATE)
173  "openexr "
174 #endif
175 #if defined(MAGICKCORE_PANGOCAIRO_DELEGATE)
176  "pangocairo "
177 #endif
178 #if defined(MAGICKCORE_PNG_DELEGATE)
179  "png "
180 #endif
181 #if defined(MAGICKCORE_DPS_DELEGATE) || defined(MAGICKCORE_GS_DELEGATE) || \
182  defined(MAGICKCORE_WINDOWS_SUPPORT)
183  "ps "
184 #endif
185 #if defined(MAGICKCORE_RAQM_DELEGATE)
186  "raqm "
187 #endif
188 #if defined(MAGICKCORE_RAW_R_DELEGATE)
189  "raw "
190 #endif
191 #if defined(MAGICKCORE_RSVG_DELEGATE)
192  "rsvg "
193 #endif
194 #if defined(MAGICKCORE_TIFF_DELEGATE)
195  "tiff "
196 #endif
197 #if defined(MAGICKCORE_WEBP_DELEGATE)
198  "webp "
199 #endif
200 #if defined(MAGICKCORE_WMF_DELEGATE) || defined (MAGICKCORE_WMFLITE_DELEGATE)
201  "wmf "
202 #endif
203 #if defined(MAGICKCORE_X11_DELEGATE)
204  "x "
205 #endif
206 #if defined(MAGICKCORE_XML_DELEGATE)
207  "xml "
208 #endif
209 #if defined(MAGICKCORE_ZLIB_DELEGATE)
210  "zlib"
211 #endif
212  ;
213 }
214 
215 /*
216 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
217 % %
218 % %
219 % %
220 % G e t M a g i c k F e a t u r e s %
221 % %
222 % %
223 % %
224 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
225 %
226 % GetMagickFeatures() returns the ImageMagick features.
227 %
228 % The format of the GetMagickFeatures method is:
229 %
230 % const char *GetMagickFeatures(void)
231 %
232 % No parameters are required.
233 %
234 */
236 {
237  return ""
238 #if defined(MAGICKCORE_WINDOWS_SUPPORT) && defined(_DEBUG)
239  "Debug "
240 #endif
241 #if defined(MAGICKCORE_CIPHER_SUPPORT)
242  "Cipher "
243 #endif
244 #if defined(MAGICKCORE_WINDOWS_SUPPORT) || defined(MAGICKCORE_HAVE_SOCKET) && defined(MAGICKCORE_THREAD_SUPPORT)
245  "DPC "
246 #endif
247 #if defined(MAGICKCORE_HDRI_SUPPORT)
248  "HDRI "
249 #endif
250 #if defined(MAGICKCORE_BUILD_MODULES) || defined(_DLL)
251  "Modules "
252 #endif
253 #if defined(MAGICKCORE_OPENCL_SUPPORT)
254  "OpenCL "
255 #endif
256 #if defined(MAGICKCORE_OPENMP_SUPPORT)
257  "OpenMP"
258 #if _OPENMP == 199810
259  "(1.0) "
260 #elif _OPENMP == 200203
261  "(2.0) "
262 #elif _OPENMP == 200505
263  "(2.5) "
264 #elif _OPENMP == 200805
265  "(3.0) "
266 #elif _OPENMP == 201107
267  "(3.1) "
268 #elif _OPENMP == 201307
269  "(4.0) "
270 #elif _OPENMP == 201511
271  "(4.5) "
272 #elif _OPENMP == 201811
273  "(5.0) "
274 #else
275  " "
276 #endif
277 #endif
278 #if defined(MAGICKCORE_HAVE_TCMALLOC)
279  "TCMalloc "
280 #endif
281 #if defined(ZERO_CONFIGURATION_SUPPORT)
282  "Zero-configuration "
283 #endif
284 #if (MAGICKCORE_QUANTUM_DEPTH == 64)
285  "Q64 (experimental, not for production) "
286 #endif
287  ;
288 }
289 
290 /*
291 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
292 % %
293 % %
294 % %
295 % G e t M a g i c k H o m e U R L %
296 % %
297 % %
298 % %
299 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
300 %
301 % GetMagickHomeURL() returns the ImageMagick home URL.
302 %
303 % The format of the GetMagickHomeURL method is:
304 %
305 % char *GetMagickHomeURL(void)
306 %
307 */
309 {
310  char
311  path[MagickPathExtent];
312 
313  const char
314  *element;
315 
317  *exception;
318 
320  *paths;
321 
322  exception=AcquireExceptionInfo();
323  paths=GetConfigurePaths(MagickURLFilename,exception);
324  exception=DestroyExceptionInfo(exception);
325  if (paths == (LinkedListInfo *) NULL)
326  return(ConstantString(MagickHomeURL));
327  element=(const char *) GetNextValueInLinkedList(paths);
328  while (element != (const char *) NULL)
329  {
330  (void) FormatLocaleString(path,MagickPathExtent,"%s%s%s",element,
332  if (IsPathAccessible(path) != MagickFalse)
333  {
335  return(ConstantString(path));
336  }
337  element=(const char *) GetNextValueInLinkedList(paths);
338  }
340  return(ConstantString(MagickHomeURL));
341 }
342 
343 /*
344 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
345 % %
346 % %
347 % %
348 % G e t M a g i c k L i c e n s e %
349 % %
350 % %
351 % %
352 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
353 %
354 % GetMagickLicense() returns the ImageMagick API license as a string.
355 %
356 % The format of the GetMagickLicense method is:
357 %
358 % const char *GetMagickLicense(void)
359 %
360 */
362 {
364 }
365 
366 /*
367 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
368 % %
369 % %
370 % %
371 % G e t M a g i c k P a c k a g e N a m e %
372 % %
373 % %
374 % %
375 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
376 %
377 % GetMagickPackageName() returns the ImageMagick package name.
378 %
379 % The format of the GetMagickName method is:
380 %
381 % const char *GetMagickName(void)
382 %
383 % No parameters are required.
384 %
385 */
387 {
388  return(MagickPackageName);
389 }
390 
391 /*
392 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
393 % %
394 % %
395 % %
396 % G e t M a g i c k Q u a n t u m D e p t h %
397 % %
398 % %
399 % %
400 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
401 %
402 % GetMagickQuantumDepth() returns the ImageMagick quantum depth.
403 %
404 % The format of the GetMagickQuantumDepth method is:
405 %
406 % const char *GetMagickQuantumDepth(size_t *depth)
407 %
408 % A description of each parameter follows:
409 %
410 % o depth: the quantum depth is returned as a number.
411 %
412 */
413 MagickExport const char *GetMagickQuantumDepth(size_t *depth)
414 {
415  if (depth != (size_t *) NULL)
416  *depth=(size_t) MAGICKCORE_QUANTUM_DEPTH;
417  return(MagickQuantumDepth);
418 }
419 
420 /*
421 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
422 % %
423 % %
424 % %
425 % G e t M a g i c k Q u a n t u m R a n g e %
426 % %
427 % %
428 % %
429 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
430 %
431 % GetMagickQuantumRange() returns the ImageMagick quantum range.
432 %
433 % The format of the GetMagickQuantumRange method is:
434 %
435 % const char *GetMagickQuantumRange(size_t *range)
436 %
437 % A description of each parameter follows:
438 %
439 % o range: the quantum range is returned as a number.
440 %
441 */
442 MagickExport const char *GetMagickQuantumRange(size_t *range)
443 {
444  if (range != (size_t *) NULL)
445  *range=(size_t) QuantumRange;
446  return(MagickQuantumRange);
447 }
448 
449 /*
450 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
451 % %
452 % %
453 % %
454 % G e t M a g i c k R e l e a s e D a t e %
455 % %
456 % %
457 % %
458 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
459 %
460 % GetMagickReleaseDate() returns the ImageMagick release date.
461 %
462 % The format of the GetMagickReleaseDate method is:
463 %
464 % const char *GetMagickReleaseDate(void)
465 %
466 % No parameters are required.
467 %
468 */
470 {
471  return(MagickReleaseDate);
472 }
473 
474 /*
475 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
476 % %
477 % %
478 % %
479 % G e t M a g i c k S i g n a t u r e %
480 % %
481 % %
482 % %
483 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
484 %
485 % GetMagickSignature() returns a signature that uniquely encodes the
486 % MagickCore libary version, quantum depth, HDRI status, OS word size, and
487 % endianness.
488 %
489 % The format of the GetMagickSignature method is:
490 %
491 % unsigned int GetMagickSignature(const StringInfo *nonce)
492 %
493 % A description of each parameter follows:
494 %
495 % o nonce: arbitrary data.
496 %
497 */
498 
499 static unsigned int CRC32(const unsigned char *message,const size_t length)
500 {
501  register ssize_t
502  i;
503 
504  static MagickBooleanType
505  crc_initial = MagickFalse;
506 
507  static unsigned int
508  crc_xor[256];
509 
510  unsigned int
511  crc;
512 
513  /*
514  Generate a 32-bit cyclic redundancy check for the message.
515  */
516  if (crc_initial == MagickFalse)
517  {
518  register unsigned int
519  j;
520 
521  unsigned int
522  alpha;
523 
524  for (j=0; j < 256; j++)
525  {
526  register ssize_t
527  k;
528 
529  alpha=j;
530  for (k=0; k < 8; k++)
531  alpha=(alpha & 0x01) ? (0xEDB88320 ^ (alpha >> 1)) : (alpha >> 1);
532  crc_xor[j]=alpha;
533  }
534  crc_initial=MagickTrue;
535  }
536  crc=0xFFFFFFFF;
537  for (i=0; i < (ssize_t) length; i++)
538  crc=crc_xor[(crc ^ message[i]) & 0xff] ^ (crc >> 8);
539  return(crc ^ 0xFFFFFFFF);
540 }
541 
542 MagickExport unsigned int GetMagickSignature(const StringInfo *nonce)
543 {
544  register unsigned char
545  *p;
546 
547  StringInfo
548  *version;
549 
550  unsigned int
551  signature;
552 
554  p=GetStringInfoDatum(version);
555  signature=MAGICKCORE_QUANTUM_DEPTH;
556  (void) memcpy(p,&signature,sizeof(signature));
557  p+=sizeof(signature);
558  signature=MAGICKCORE_HDRI_ENABLE;
559  (void) memcpy(p,&signature,sizeof(signature));
560  p+=sizeof(signature);
561  signature=MagickLibInterface;
562  (void) memcpy(p,&signature,sizeof(signature));
563  p+=sizeof(signature);
564  signature=1; /* endianness */
565  (void) memcpy(p,&signature,sizeof(signature));
566  p+=sizeof(signature);
567  SetStringInfoLength(version,p-GetStringInfoDatum(version));
568  if (nonce != (const StringInfo *) NULL)
569  ConcatenateStringInfo(version,nonce);
570  signature=CRC32(GetStringInfoDatum(version),GetStringInfoLength(version));
571  version=DestroyStringInfo(version);
572  return(signature);
573 }
574 
575 /*
576 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
577 % %
578 % %
579 % %
580 % G e t M a g i c k V e r s i o n %
581 % %
582 % %
583 % %
584 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
585 %
586 % GetMagickVersion() returns the ImageMagick API version as a string and
587 % as a number.
588 %
589 % The format of the GetMagickVersion method is:
590 %
591 % const char *GetMagickVersion(size_t *version)
592 %
593 % A description of each parameter follows:
594 %
595 % o version: the ImageMagick version is returned as a number.
596 %
597 */
598 MagickExport const char *GetMagickVersion(size_t *version)
599 {
600  if (version != (size_t *) NULL)
601  *version=MagickLibVersion;
602  return(MagickVersion);
603 }
604 
605 /*
606 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
607 % %
608 % %
609 % %
610 % L i s t M a g i c k V e r s i o n %
611 % %
612 % %
613 % %
614 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
615 %
616 % ListMagickVersion() identifies the ImageMagick version by printing its
617 % attributes to the file. Attributes include the copyright, features, and
618 % delegates.
619 %
620 % The format of the ListMagickVersion method is:
621 %
622 % void ListMagickVersion(FILE *file)
623 %
624 % A description of each parameter follows:
625 %
626 % o file: the file, typically stdout.
627 %
628 */
630 {
631  (void) FormatLocaleFile(file,"Version: %s\n",
632  GetMagickVersion((size_t *) NULL));;
633  (void) FormatLocaleFile(file,"Copyright: %s\n",GetMagickCopyright());
634  (void) FormatLocaleFile(file,"License: %s\n",GetMagickLicense());
635 #if defined(MAGICKCORE_WINDOWS_SUPPORT) && defined(_MSC_FULL_VER)
636  (void) FormatLocaleFile(file,"Visual C++: %d\n",_MSC_FULL_VER);
637 #endif
638  (void) FormatLocaleFile(file,"Features: %s\n",GetMagickFeatures());
639  (void) FormatLocaleFile(file,"Delegates (built-in): %s\n",
641  if (IsEventLogging() != MagickFalse)
642  {
643  (void) FormatLocaleFile(file,"Wizard attributes: ");
644  (void) FormatLocaleFile(file,"QuantumRange=%g; ",(double) QuantumRange);
645  (void) FormatLocaleFile(file,"QuantumScale=%.*g; ",GetMagickPrecision(),
646  (double) QuantumScale);
647  (void) FormatLocaleFile(file,"MagickEpsilon=%.*g; ",GetMagickPrecision(),
648  (double) MagickEpsilon);
649  (void) FormatLocaleFile(file,"MaxMap=%g; ",(double) MaxMap);
650  (void) FormatLocaleFile(file,"MagickPathExtent=%g; ",
651  (double) MagickPathExtent);
652  (void) FormatLocaleFile(file,"sizeof(Quantum)=%g; ",(double)
653  sizeof(Quantum));
654  (void) FormatLocaleFile(file,"sizeof(MagickSizeType)=%g; ",(double)
655  sizeof(MagickSizeType));
656  (void) FormatLocaleFile(file,"sizeof(MagickOffsetType)=%g",(double)
657  sizeof(MagickOffsetType));
658  }
659 }
#define MagickLibInterface
Definition: version.h:34
#define MagickAuthoritativeLicense
Definition: version.h:51
MagickExport const char * GetMagickPackageName(void)
Definition: version.c:386
MagickExport const char * GetMagickDelegates(void)
Definition: version.c:100
#define MagickQuantumDepth
Definition: version.h:68
MagickExport LinkedListInfo * DestroyLinkedList(LinkedListInfo *list_info, void *(*relinquish_value)(void *))
Definition: linked-list.c:219
#define MagickURLFilename
Definition: version.c:55
#define MagickPackageName
Definition: version.h:28
MagickExport char * GetMagickHomeURL(void)
Definition: version.c:308
MagickExport void ListMagickVersion(FILE *file)
Definition: version.c:629
MagickExport ExceptionInfo * AcquireExceptionInfo(void)
Definition: exception.c:115
MagickExport void ConcatenateStringInfo(StringInfo *string_info, const StringInfo *source)
Definition: string.c:554
MagickExport ssize_t FormatLocaleString(char *magick_restrict string, const size_t length, const char *magick_restrict format,...)
Definition: locale.c:499
#define MAGICKCORE_QUANTUM_DEPTH
Definition: magick-type.h:32
MagickExport const char * GetMagickFeatures(void)
Definition: version.c:235
#define MagickEpsilon
Definition: magick-type.h:114
ssize_t MagickOffsetType
Definition: magick-type.h:133
MagickExport const char * GetMagickLicense(void)
Definition: version.c:361
static unsigned int CRC32(const unsigned char *message, const size_t length)
Definition: version.c:499
#define MagickVersion
Definition: version.h:71
MagickExport void * GetNextValueInLinkedList(LinkedListInfo *list_info)
Definition: linked-list.c:305
MagickExport unsigned char * GetStringInfoDatum(const StringInfo *string_info)
Definition: string.c:1205
MagickExport ssize_t FormatLocaleFile(FILE *file, const char *magick_restrict format,...)
Definition: locale.c:404
MagickBooleanType
Definition: magick-type.h:169
#define DirectorySeparator
Definition: studio.h:259
MagickExport StringInfo * DestroyStringInfo(StringInfo *string_info)
Definition: string.c:840
#define MagickLibVersion
Definition: version.h:30
MagickExport const char * GetMagickReleaseDate(void)
Definition: version.c:469
MagickExport const char * GetMagickQuantumDepth(size_t *depth)
Definition: version.c:413
size_t MagickSizeType
Definition: magick-type.h:134
#define MagickPathExtent
MagickExport MagickBooleanType IsEventLogging(void)
Definition: log.c:725
MagickExport int GetMagickPrecision(void)
Definition: magick.c:942
#define MagickHomeURL
Definition: version.h:54
MagickExport unsigned int GetMagickSignature(const StringInfo *)
Definition: version.c:542
MagickExport MagickBooleanType IsPathAccessible(const char *path)
Definition: utility.c:1477
MagickExport const char * GetMagickVersion(size_t *version)
Definition: version.c:598
#define QuantumScale
Definition: magick-type.h:119
MagickExport const char * GetMagickQuantumRange(size_t *range)
Definition: version.c:442
MagickExport const char * GetMagickCopyright(void)
Definition: version.c:75
#define MaxMap
Definition: magick-type.h:79
MagickExport StringInfo * AcquireStringInfo(const size_t length)
Definition: string.c:187
MagickExport LinkedListInfo * GetConfigurePaths(const char *filename, ExceptionInfo *exception)
Definition: configure.c:734
unsigned short Quantum
Definition: magick-type.h:86
MagickExport void SetStringInfoLength(StringInfo *string_info, const size_t length)
Definition: string.c:1735
MagickExport void * RelinquishMagickMemory(void *memory)
Definition: memory.c:1123
#define MagickExport
#define MagickReleaseDate
Definition: version.h:50
MagickExport size_t GetStringInfoLength(const StringInfo *string_info)
Definition: string.c:1234
MagickExport char * ConstantString(const char *source)
Definition: string.c:702
#define MagickCopyright
Definition: version.h:29
#define QuantumRange
Definition: magick-type.h:87
#define MagickQuantumRange
Definition: version.h:69
MagickExport ExceptionInfo * DestroyExceptionInfo(ExceptionInfo *exception)
Definition: exception.c:418