


  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  



  

    

      

        
../../index.html[ImageMagick] 
        

        
http://www.imagemagick.org/[sponsor] 
        

        
../../index.html 
        
../../index.html 
      

    

  


  

  


    

      

      
#mainSkip to page contents 

      
[
      
../../index.htmlAbout ImageMagick       
../../www/command-line-tools.htmlCommand-line Tools       
../../www/api.htmlProgram Interfaces   
][
      
../../www/install-source.htmlInstall from Source       
../../www/binary-releases.htmlBinary Releases       
../../www/resources.htmlResources   
][
      
../../www/download.htmlDownload   
][
      
../../www/links.htmlLinks   
][
      
../../www/sponsors.htmlSponsors   
http://www.georeviews.comConsumer Reviewsand Ratings       
]
      


      

[ #AcquireMagickResourceAcquireMagickResource  | #AcquireUniqueFileResourceAcquireUniqueFileResource  | #GetMagickResourceGetMagickResource  | #GetMagickResourceGetMagickResource  | #ListMagickResourceInfoListMagickResourceInfo  | #RelinquishMagickResourceRelinquishMagickResource  | #RelinquishUniqueFileResourceRelinquishUniqueFileResource  | #SetMagickResourceLimitSetMagickResourceLimit  ]
  
AcquireMagickResource 
AcquireMagickResource() acquires resources of the specified type. MagickFalse is returned if the specified resource is exhausted otherwise MagickTrue.
The format of the AcquireMagickResource() method is:
  MagickBooleanType AcquireMagickResource(const ResourceType type,
    const MagickSizeType size)
A description of each parameter follows:
type
The type of resource.
size
The number of bytes needed from for this resource.
  
AcquireUniqueFileResource 
AcquireUniqueFileResource() returns a unique file name, and returns a file descriptor for the file open for reading and writing.
The format of the AcquireUniqueFileResource() method is:
  int AcquireUniqueFileResource(char *path)
A description of each parameter follows:
 path
Specifies a pointer to an array of characters.  The unique path name is returned in this array.
  
GetMagickResource 
GetMagickResource() returns the the specified resource in megabytes.
The format of the GetMagickResource() method is:
  unsigned long GetMagickResource(const ResourceType type)
A description of each parameter follows:
type
The type of resource.
  
GetMagickResource 
GetMagickResource() returns the the specified resource limit in megabytes.
The format of the GetMagickResourceLimit() method is:
  unsigned long GetMagickResourceLimit(const ResourceType type)
A description of each parameter follows:
type
The type of resource.
  
ListMagickResourceInfo 
ListMagickResourceInfo() lists the resource info to a file.
The format of the ListMagickResourceInfo method is:
  MagickBooleanType ListMagickResourceInfo(FILE *file,
    ExceptionInfo *exception)
A description of each parameter follows.
file
An pointer to a FILE.
exception
Return any errors or warnings in this structure.
  
RelinquishMagickResource 
RelinquishMagickResource() relinquishes resources of the specified type.
The format of the RelinquishMagickResource() method is:
  void RelinquishMagickResource(const ResourceType type,
    const MagickSizeType size)
A description of each parameter follows:
type
The type of resource.
size
The size of the resource.
  
RelinquishUniqueFileResource 
RelinquishUniqueFileResource() relinquishes a unique file resource.
The format of the RelinquishUniqueFileResource() method is:
  MagickBooleanType RelinquishUniqueFileResource(const char *path)
A description of each parameter follows:
name
the name of the temporary resource.
  
SetMagickResourceLimit 
SetMagickResourceLimit() sets the limit for a particular resource in megabytes.
The format of the SetMagickResourceLimit() method is:
  MagickBooleanType SetMagickResourceLimit(const ResourceType type,
    const unsigned long limit)
A description of each parameter follows:
type
The type of resource.
limit
The maximum limit for the resource.
      

      
 
    

  

  

  

    
http://redux.imagemagick.org/discussion-serverDiscourse Server  |
    
../../www/mailing-list.htmlMailing Lists  |
    
http://redux.imagemagick.org/galleryImage Gallery  |
    
http://studio.webbyland.com/MagickStudio/scripts/MagickStudio.cgiImageMagick Studio 
  

  

    
© 1999-2005 ImageMagick Studio LLC
  

  



