Quoting Till Adam ([EMAIL PROTECTED]): > 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.
So the KXL games using xpm don't need to be patched ;) > 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 ;) Does it "just" read the file raw data or does it decompress the image? > 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. I will add the filename, please send a patch for DirectFB-extra after that. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" convergence integrated media GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
