## AcquireCacheView AcquireCacheView() acquires a view into the pixel cache, using the VirtualPixelMethod that is defined within the given image itself. The format of the AcquireCacheView method is:
      ViewInfo *AcquireCacheView(const Image *image)
A description of each parameter follows: ##### image the image. ## AcquireCacheViewThread AcquireCacheViewThread() acquires the current view from a cache view thread set. The format of the AcquireCacheView method is:
      ViewInfo *AcquireCacheViewThread(ViewInfo **cache_views)
A description of each parameter follows: ##### cache_view the cache view thread set. ## AcquireCacheViewThreadSet AcquireCacheViewThreadSet() acquires a set of views, one for each possible thread. The format of the AcquireCacheViewThreadSet method is:
      ViewInfo **AcquireCacheViewThreadSet(const Image *image)
A description of each parameter follows: ##### image the image. ## CloneCacheView CloneCacheView() makes an exact copy of the specified cache view. The format of the CloneCacheView method is:
      ViewInfo *CloneCacheView(const ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## DestroyCacheView DestroyCacheView() destroys the specified view returned by a previous call to AcquireCacheView(). The format of the DestroyCacheView method is:
      ViewInfo *DestroyCacheView(ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## DestroyCacheViewThreadSet DestroyCacheViewThreadSet() destroys a set of cache views previously acquired from the AcquireCacheViewThreadSet() method. The format of the DestoryCacheViewSet method is:
      ViewInfo **DestroyCacheViewThreadSet(ViewInfo **cache_view)
A description of each parameter follows: ##### cache_view the cache views. ## GetCacheViewColorspace GetCacheViewColorspace() returns the image colorspace associated with the specified view. The format of the GetCacheViewColorspace method is:
      ColorspaceType GetCacheViewColorspace(const ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## GetCacheViewException GetCacheViewException() returns the image exception associated with the specified view. The format of the GetCacheViewException method is:
      ExceptionInfo GetCacheViewException(const ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## GetCacheViewStorageClass GetCacheViewStorageClass() returns the image storage class associated with the specified view. The format of the GetCacheViewStorageClass method is:
      ClassType GetCacheViewStorageClass(const ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## GetCacheViewVirtualIndexes GetCacheViewVirtualIndexes() returns the virtual indexes associated with the specified view. The format of the GetCacheViewVirtualIndexes method is:
      const IndexPacket *GetCacheViewVirtualIndexes(const ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## GetCacheViewVirtualIndexQueue GetCacheViewVirtualIndexQueue() returns the indexes associated with the last call to GetCacheViewVirtualIndexes(). The indexes are virtual and therefore cannot be updated. The format of the GetCacheViewVirtualIndexQueue() method is:
      const IndexPacket *GetCacheViewVirtualIndexQueue(
        const ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## GetCacheViewVirtualPixelQueue GetCacheViewVirtualPixelQueue() returns the the pixels associated with the last call to GetCacheViewVirtualPixels(). The pixels are virtual and therefore cannot be updated. The format of the GetCacheViewVirtualPixelQueue() method is:
      const PixelPacket *GetCacheViewVirtualPixelQueue(
        const ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## GetCacheViewVirtualPixels GetCacheViewVirtualPixels() gets virtual pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned. The format of the GetCacheViewVirtualPixels method is:
      const PixelPacket *GetCacheViewVirtualPixels(
        const ViewInfo *cache_view,const long x,const long y,
        const unsigned long columns,const unsigned long rows,
        ExceptionInfo *exception)
A description of each parameter follows: ##### cache_view the cache view. ##### x,y,columns,rows These values define the perimeter of a region of pixels. ##### exception return any errors or warnings in this structure. ## GetOneCacheViewVirtualPixel GetOneCacheViewVirtualPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneCacheViewAuthenticPixel() instead. The format of the GetOneCacheViewVirtualPixel method is:
      MagickBooleanType GetOneCacheViewVirtualPixel(
        const ViewInfo *cache_view,const long x,const long y,
        PixelPacket *pixel,ExceptionInfo *exception)
A description of each parameter follows: ##### cache_view the cache view. ##### x,y These values define the offset of the pixel. ##### pixel return a pixel at the specified (x,y) location. ##### exception return any errors or warnings in this structure. ## GetOneCacheViewVirtualMethodPixel GetOneCacheViewVirtualMethodPixel() returns a single virtual pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneCacheViewAuthenticPixel() instead. The format of the GetOneCacheViewVirtualPixel method is:
      MagickBooleanType GetOneCacheViewVirtualMethodPixel(
        const ViewInfo *cache_view,
        const VirtualPixelMethod virtual_pixel_method,const long x,
        const long y,PixelPacket *pixel,ExceptionInfo *exception)
A description of each parameter follows: ##### cache_view the cache view. ##### virtual_pixel_method the virtual pixel method. ##### x,y These values define the offset of the pixel. ##### pixel return a pixel at the specified (x,y) location. ##### exception return any errors or warnings in this structure. ## GetCacheViewAuthenticIndexes GetCacheViewAuthenticIndexes() returns the indexes associated with the specified view. The format of the GetCacheViewAuthenticIndexes method is:
      IndexPacket *GetCacheViewAuthenticIndexes(const ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## GetCacheViewAuthenticPixels GetCacheViewAuthenticPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned. The format of the GetCacheViewAuthenticPixels method is:
      PixelPacket *GetCacheViewAuthenticPixels(ViewInfo *cache_view,
        const long x,const long y,const unsigned long columns,
        const unsigned long rows,ExceptionInfo *exception)
A description of each parameter follows: ##### cache_view the cache view. ##### x,y,columns,rows These values define the perimeter of a region of pixels. ## GetOneCacheViewAuthenticPixel GetOneCacheViewAuthenticPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. The format of the GetOneCacheViewAuthenticPixel method is:
      MagickBooleaNType GetOneCacheViewAuthenticPixel(
        const ViewInfo *cache_view,const long x,const long y,
        Pixelpacket *pixel,ExceptionInfo *exception)
A description of each parameter follows: ##### cache_view the cache view. ##### x,y These values define the offset of the pixel. ##### pixel return a pixel at the specified (x,y) location. ##### exception return any errors or warnings in this structure. ## GetCacheViewAuthenticIndexQueue GetCacheViewAuthenticIndexQueue() returns the indexes associated with the last call to SetCacheViewIndexes() or GetCacheViewAuthenticIndexes(). The indexes are authentic and can be updated. The format of the GetCacheViewAuthenticIndexQueue() method is:
      IndexPacket *GetCacheViewAuthenticIndexQueue(ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## GetCacheViewAuthenticPixelQueue GetCacheViewAuthenticPixelQueue() returns the pixels associated with the last call to QueueCacheViewAuthenticPixels() or GetCacheViewAuthenticPixels(). The pixels are authentic and therefore can be updated. The format of the GetCacheViewAuthenticPixelQueue() method is:
      PixelPacket *GetCacheViewAuthenticPixelQueue(ViewInfo *cache_view)
A description of each parameter follows: ##### cache_view the cache view. ## QueueCacheViewAuthenticPixels QueueCacheViewAuthenticPixels() queues authentic pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned. The format of the QueueCacheViewAuthenticPixels method is:
      PixelPacket *QueueCacheViewAuthenticPixels(ViewInfo *cache_view,
        const long x,const long y,const unsigned long columns,
        const unsigned long rows,ExceptionInfo *exception)
A description of each parameter follows: ##### cache_view the cache view. ##### x,y,columns,rows These values define the perimeter of a region of pixels. ##### exception return any errors or warnings in this structure. ## SetCacheViewStorageClass SetCacheViewStorageClass() sets the image storage class associated with the specified view. The format of the SetCacheViewStorageClass method is:
      MagickBooleanType SetCacheViewStorageClass(ViewInfo *cache_view,
        const ClassType storage_class)
A description of each parameter follows: ##### cache_view the cache view. ##### storage_class the image storage class: PseudoClass or DirectClass. ## SetCacheViewVirtualPixelMethod SetCacheViewVirtualPixelMethod() sets the virtual pixel method associated with the specified cache view. The format of the SetCacheViewVirtualPixelMethod method is:
      MagickBooleanType SetCacheViewVirtualPixelMethod(ViewInfo *cache_view,
        const VirtualPixelMethod virtual_pixel_method)
A description of each parameter follows: ##### cache_view the cache view. ##### virtual_pixel_method the virtual pixel method. ## SyncCacheViewAuthenticPixels SyncCacheViewAuthenticPixels() saves the cache view pixels to the in-memory or disk cache. It returns MagickTrue if the pixel region is flushed, otherwise MagickFalse. The format of the SyncCacheViewAuthenticPixels method is:
      MagickBooleanType SyncCacheViewAuthenticPixels(ViewInfo *cache_view,
        ExceptionInfo *exception)
A description of each parameter follows: ##### cache_view the cache view. ##### exception return any errors or warnings in this structure. |

Discourse Server • Mailing Lists • Cafe • Studio