Hello folks,

As Sven suggested a while back I have done an image provider for imlib2.
It happily loads all file formats that imlib2 is currently capable of
loading including xpm, xcf and various bitmap formats.

The only problem I have is that Imlib's probe function needs the full
file name whereas image_probe currently only passes the head of the
file. dok told me on irc that he'd consider changing that but that
imlib's probe function should not open the complete file yet. Which
brings me to the problem: It does ;)

Now, it caches that file, so should the probe be succesfull and the
image end up being loaded by imlib provider, the file will not be loaded
again, but should the probe fail, it has been opened in vain.

Is that acceptable? I'd do a patch against DirectFB-extra which is where
I think this belongs, but I'd prefer it if dok or someone would add the
filename as an additional argument to image_probe first, so that I dont have
to touch any code outside of -extra.

Cheers,

Till


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to