Logo Search packages:      
Sourcecode: adesklets version File versions

Imlib_Image imlib_load_image_immediately_without_cache ( const char *  file  ) 

Parameters:
file Image file.
Returns:
An image handle.
Loads the image without deferred image data decoding (i.e. it is decoded straight away) and without looking in the cache. Returns an image handle on success or NULL on failure.

Definition at line 1737 of file imlib2.c.

{
   Imlib_Image         im = NULL;
   Imlib_Image         prev_ctxt_image;

   if (!ctx)
      ctx = imlib_context_new();
   CHECK_PARAM_POINTER_RETURN("imlib_load_image_immediately_without_cache",
                              "file", file, NULL);
   prev_ctxt_image = ctx->image;
   im = __imlib_LoadImage(file, (ImlibProgressFunction) ctx->progress_func,
                          ctx->progress_granularity, 1, 1, NULL);
   ctx->image = prev_ctxt_image;
   return (Imlib_Image) im;
}


Generated by  Doxygen 1.6.0   Back to index