Summary: | thumbnail generation fails with raw images | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Florian Auer <auer> |
Component: | Plugin-DImg-RAW | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.9.0 | |
Sentry Crash Report: | |||
Attachments: | patch to use dcraw 8.21 to extract RAW thumb instead to use dcraw::parse method |
Description
Florian Auer
2006-05-29 23:51:58 UTC
I forgot to mention I was using the latest unstable trunk, but it also didn't work with rpms from opensuse Thanks for this report Florian. I have never tested a DCR raw file before. Your sample file is vertically oriented. Can you give me another one horizontally oriented. Also, preview is generated by an old dcraw::parse implementation. Perhaps a new backport of dcraw::parse.c implementation will solve the problem (with dcraw v8.08, dcraw -e foo.dcr give a good preview)... Gilles Caulier Forget to said that using Exiv2 from svn (not 0.9.1) with digiKam give Exif and GPS informations now ! This is not optimum. There is no makernote for example. We will take a look to improve that. Gilles Caulier I've uploaded a landscape one http://www.auerentertainment.com/img/GQ435066.DCR using svn version of libexiv2 improved things, although important information like aparature, shuttertime and others don't display. perhaps it would be a nice thing, if someone sets up an website where people could submit raw pictures from different camera models, I guess that would help open source developers testing photo software. hmm... I guess I could make something like this, if you are interested, please let me know. I have already created a RAW repository at this place : http://digikam3rdparty.free.fr/TEST_IMAGES/RAW/ ...but of course, creating a real repository with a web interface and a place to Submit new files will be really powerfull, like this no-opensource repository (very uncomplete) : http://glasslantern.com/RAWpository/index.htm Note : RAW file are large data. Hosting a RAW repository require a computer with a big hardrive. Are you sure that you can provide this ressource ? Gilles Caulier Florian, Here a patch to solve the problem in digikam thumb generator kioslave. The interanla digikam code using bugous dcraw::parse method have been disable,and extrenal dcraw instance is used instead... Work fine here, and is speed... but you need to install at least the last dcraw verion : 8.21 !!! ... else thumbs extraction will failed and thumbnail generation will take a while... Please test it and give me a feedback Gilles Created attachment 16472 [details]
patch to use dcraw 8.21 to extract RAW thumb instead to use dcraw::parse method
works great thx! thumbnail generation works quick now (althoght my old apple, using the original kodak utility is still about 5 times faster, but I guess if there was a dcraw lib instead of the command line utility, one could avoid the overhead you have with calling dcraw through popen and the extra conversion to an from the ppm format...) thank you, Florian PS: I will have a look about the raw repository next week, I'll let you know when I have worked something out OK. thanks for the report. Code not yet commited. I need more feedback from others users. About RAW repository, i'm waiting your contribution. Thanks in advance for your help Gilles |