I think we all agree that thumbnailing a folder full of images is a usefull feature of an OS.
All OS’es can do it. Even Beos/Haiku can do it when using Tracker.NewFS3.0. But it’s slow… way to slow to be usable. Windows is lighning fast at creating thumbnails of a lot of pictures. Beos needs this speed too!
The current tracker uses the default JPEG translator for reading all image data before it resizes the image to a thumbnail. The problem with the JPEG translator is it doesn’t provide the possibility to read pixels at specific coordinates. So you can’t say give me each 5th pixel on coordinate X & Y to speed up reading. Therefore we need a new translator.
I’ve come across a library for resizing JPeg files at high speed. It’s called EPEG and is developed for Enlightenment, a linux windowmanager. I’ts open source and only depends on the Jpeg lib (wich is freely available) as far as I can see.
I know how to program in C++ on beos, but I know nothing about make files and gcc stuff. I only know how to use use BeIDE, sad isn’t it??!
As far as I can understand the epeg source must be compiled to libepeg.so (for instance), before you can use it’s features. Is anyone here capable of porting Epeg to Beos, or at least give me some info on how it should be done?
If we could make a translator version of this library we should have fast, or at least faster, thumbnailing! I don’t know if this idea is even viable, or has already been tried, so let me know it’s good or bad!
Don’t have the link to the epeg sourcecode right here… I’ll post it when I get home.