MagickCore  6.9.10
Convert, Edit, Or Compose Bitmap Images
utility.c File Reference
#include "magick/studio.h"
#include "magick/property.h"
#include "magick/blob.h"
#include "magick/color.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/geometry.h"
#include "magick/image-private.h"
#include "magick/list.h"
#include "magick/log.h"
#include "magick/memory_.h"
#include "magick/nt-base-private.h"
#include "magick/option.h"
#include "magick/policy.h"
#include "magick/random_.h"
#include "magick/registry.h"
#include "magick/resource_.h"
#include "magick/semaphore.h"
#include "magick/signature-private.h"
#include "magick/statistic.h"
#include "magick/string_.h"
#include "magick/string-private.h"
#include "magick/token.h"
#include "magick/utility.h"
#include "magick/utility-private.h"
Include dependency graph for utility.c:

Functions

static int IsPathDirectory (const char *)
 
MagickExport MagickBooleanType AcquireUniqueFilename (char *path)
 
MagickExport MagickBooleanType AcquireUniqueSymbolicLink (const char *source, char *destination)
 
MagickExport void AppendImageFormat (const char *format, char *filename)
 
MagickExport unsigned char * Base64Decode (const char *source, size_t *length)
 
MagickExport char * Base64Encode (const unsigned char *blob, const size_t blob_length, size_t *encode_length)
 
MagickExport void ChopPathComponents (char *path, const size_t components)
 
MagickExport void ExpandFilename (char *path)
 
MagickExport MagickBooleanType ExpandFilenames (int *number_arguments, char ***arguments)
 
MagickExport MagickBooleanType GetExecutionPath (char *path, const size_t extent)
 
MagickExport ssize_t GetMagickPageSize (void)
 
MagickExport MagickBooleanType GetPathAttributes (const char *path, void *attributes)
 
MagickExport void GetPathComponent (const char *path, PathType type, char *component)
 
MagickExport char ** GetPathComponents (const char *path, size_t *number_components)
 
MagickExport MagickBooleanType IsPathAccessible (const char *path)
 
static int FileCompare (const void *x, const void *y)
 
MagickExport char ** ListFiles (const char *directory, const char *pattern, size_t *number_entries)
 
MagickExport void MagickDelay (const MagickSizeType milliseconds)
 
MagickExport size_t MultilineCensus (const char *label)
 
MagickPrivate MagickBooleanType ShredFile (const char *path)
 

Variables

static const char Base64 [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
 

Function Documentation

◆ AcquireUniqueFilename()

◆ AcquireUniqueSymbolicLink()

◆ AppendImageFormat()

◆ Base64Decode()

MagickExport unsigned char* Base64Decode ( const char *  source,
size_t *  length 
)

◆ Base64Encode()

MagickExport char* Base64Encode ( const unsigned char *  blob,
const size_t  blob_length,
size_t *  encode_length 
)

◆ ChopPathComponents()

MagickExport void ChopPathComponents ( char *  path,
const size_t  components 
)

References GetPathComponent(), and HeadPath.

Referenced by GetConfigureBlob(), and GetConfigurePaths().

◆ ExpandFilename()

◆ ExpandFilenames()

◆ FileCompare()

static int FileCompare ( const void *  x,
const void *  y 
)
static

References LocaleCompare().

Referenced by ListFiles().

◆ GetExecutionPath()

◆ GetMagickPageSize()

MagickExport ssize_t GetMagickPageSize ( void  )

◆ GetPathAttributes()

MagickExport MagickBooleanType GetPathAttributes ( const char *  path,
void *  attributes 
)

◆ GetPathComponent()

◆ GetPathComponents()

MagickExport char** GetPathComponents ( const char *  path,
size_t *  number_components 
)

◆ IsPathAccessible()

◆ IsPathDirectory()

static int IsPathDirectory ( const char *  path)
static

◆ ListFiles()

◆ MagickDelay()

MagickExport void MagickDelay ( const MagickSizeType  milliseconds)

References lib.

Referenced by GetImagePixelCache(), and InvokeDelegate().

◆ MultilineCensus()

MagickExport size_t MultilineCensus ( const char *  label)

Referenced by MontageImageList().

◆ ShredFile()

Variable Documentation

◆ Base64

const char Base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
static

Referenced by Base64Decode(), and Base64Encode().