Community
More on thumbnailing and optimization
Following my last post, spent most of the of the time on different imaging libraries to find a faster way of doing thumbnails and optimization.
I tested the following libraries to create image thumbnails, GdkPixbuf, imlib2, ImageMagic, epeg. Pixbuf gives somewhat nice timings , imlib2 is fast but was leaking too much memory. ImageMagic seems to the slowest among them. Last try was with epeg which can only handle jpegs and it came out as the fastest. So wrote a C function and using it from inside vala code using extern.
Next target was to find better way to get thumbnails from RAW images, tried libopenraw and LibRaw for that. But with help from yorba developers found the way to do it using gexiv2 only.
In between tried few tools for profiling the application, sayamindu told me about sysprof which seems to be the easiest for my purpose. Using it I found gexiv2_metadata_open_path is taking around 67% of time, inside it Exiv2::TiffImage:readMetaData is taking 51% of time.
Now coming to the point of speed , 1st run is on 1GB of RAW files
real 0m2.946s user 0m2.542s sys 0m0.116s
2nd run is on same 36GB of images , among them around half is RAW.
real 4m0.807s user 0m54.283s sys 1m24.789s
Now this is fast in my textbook :D I should not forget to tell about the great help I got from #vala and Adrien Bustany in the whole work.
lekhonee-gnome 0.11 released
I just released lekhonee-gnome 0.11, you can download the source from here, a yum repo for Fedora 13 can be found here.
- Add new category button is re-enabled and it works :p
- Updated translations
- About dialog bug fixed
How to use lekhonee-gnome for multiple blogs with the same wordpress account ?
I was looking into this feature request yesterday, good news is lekhonee-gnome already supports this. Lets say your wordpress username is foobar.
FAD PUNE 2010
So this weekend we had FAD Pune 2010. Being organizer the main issue was to get inside the office before everyone else :)
- Packaged accessx ( with help from Sayamindu to patch it for Fedora)
- Updated code in Pony so that it works with new flickrapi API (committed but not pushed yet)
- Now we have cover images in Pathagar , the digital library system.
- Helped people with packaging
I Know What You Are Going To Do This Summer 2010
Hi all,
We are happy to announce “I Know What You Are Going To Do This Summer
2010″,[1] a free (as in freedom), online (IRC-based) [2] training
sessions for wannabes to Free/Libre/Open Source Software at #dgplug on
irc.freenode. net [3].
If you are a mentor, or trainer, or prospective enthusiast who would
like to participate in this years’ sessions please go through last
years’ IRC logs:
http://www.dgplug.org/irclogs/
We will have a review or Q&A session on last years’ sessions before we
proceed into new topics, this year.
The session timings are mostly varying, usually after 1900 IST every day.
To participate you need a good internet connection and any latest
linux installed (Fedora 12/13 preferably ). Anyone can participate.
If you are interested in participating, please confirm your
participation by sending an off-list mail to me (kushaldas AT gmail DOT com).
URL: http://dgplug.org/intro/
Planet: http://planet.dgplug.org/
Wiki: http://wiki.dgplug.org/
Mailing list group (for queries, discussions) :
http://lists.dgplug.org/
[1] http://wiki.dgplug.org/index.
[2] http://en.wikipedia.org/wiki/
[3] http://fedoraproject.org/wiki/
lekhonee-gnome 0.9.1 is released
I am happy to announce the release of lekhonee-gnome 0.9.1 . You can download the source or check for koji builds for F12 or F13. New features are like:
- Supports multiple Wordpress accounts
- Tabbed UI for different modes
- Now supports adding <br> tag using tool button
- Preview mode (more details on this below)
- Advertisement message is disabled for this release
- Stopped segfault(s) in couple of corner cases
- Supports <video> and <audio> tags in Visual and preview mode (you may have to write the details in HTML mode)
- Can watch youtube videos in Preview mode (not an actual feature :p )
So the main two new features are multiple account handling and Preview mode. In the preview mode you can see how the post will look like in your blog with the theme you are having. To fetch the blog style please click on the small download style/theme button in the toolbar (this button will only come in the toolbar if you don’t have cached theme downloaded in your system), though you need internet connection for this mode to work.