RAW THUMBNAILS: Canon 7D not implemented
Bug #442379 reported by
Troy James Sobotka
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-raw-thumbnailer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-raw-
Summary: The GNOME raw thumbnailer relies on libraw which is a translation of Dave Coffin's RAW processing tool dcraw. It is not up to date in Ubuntu Karmic.
ProblemType: Bug
Architecture: amd64
Date: Sun Oct 4 09:42:41 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/nautilus
NonfreeKernelMo
Package: nautilus 1:2.28.0-0ubuntu4
ProcEnviron:
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: nautilus
Uname: Linux 2.6.31-11-generic x86_64
Changed in gnome-raw-thumbnailer (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
the thumbnails generated from raws out of my olymus e-3 where also broken.
Trying to fix the problem, I was looking into the source code of gnome-raw- thumbnailer. c:
The code has not been changed since 2005 and most of its code, the extraction of the thumbnails, was done by code copied from the parser.c of the dcraw project in 2004. In the current version of dcraw the thumbnails aren't any longer extracted by the parser but from dcraw itself. So a quite simple upgrade of the source code used in the gnome-raw- thumnailer was not possible. I am also thinking that this would not be a good idea since you would have to upgrade the code again and again for every new RAW Image Format. In my eyes a much better solution is to generate the thumbnails by use of another well maintained program, so that in the
event of an new format I just would have to upgrade to the newest version and everything works again. Since dcraw would not let me specify an alternate path or filename for the extracted preview I decided to use ufraw-batch for my workaround.
My solution to the problem is at the moment more or less a workaround /quick fix, that solves the problem for me.
I need to have the following packages installed:
gnome-raw- thumbnailer ufraw imagemagick
The main use for the gnome-raw- thumbnailer package is at the moment the registration of the Image Types in gome. The gnome-raw- thumbnailer itself in /usr/bin/ is replaced by this little bash script (Its probably not very nicely programmed, but I am open for suggestions/ improvements):
#!/bin/bash Thumbnailer thumbnailer imagemagick ufraw thumbnailer /make an own pakage
# Raw Thumbnailer - Replacement for obsolete Gnome-Raw-
#
# depends on gnome-raw-
# if your Raw is not supported, just upgrade to the latest ufraw version!
# dcraw is not used since dcraw does not allow to specify a different
output file name and path for the extracted preview.
#
# DWTFYW License and GPL v3
# Sebastian Haaf 14-12-2010 - thabastlwastl _at_ gmail _dot_ com
#
# TODO use RANDOM Name (time in ms/ns + ImageName) for tmp_thumb, delete
tmp_thumb after use
# TODO remove dependency of gnome-raw-
#
displayHelp() {
echo "Raw Thumbnailer - make sure imagemagick and ufraw
(ufraw-batch) are installed."
echo
echo "Usage: $0 [-s size] input output"
echo "Usage: $0 input output"
echo
}
sflag=0
sval= "$OPTARG"
while getopts 's:' OPTION
do
case $OPTION in
s) sflag=1
;;
?) displayHelp
exit 2 /tmp/tmp_ thumb.jpg --silent
;;
esac
done
if [ $sflag == 1 ]
then
# $1 == "-s"
ufraw-batch --embedded-image --output=
--overwrite $3
convert -resize $2x$2 /tmp/tmp_thumb.jpg $4
else /tmp/tmp_ thumb.jpg --silent
if [ $# == 2 ]
then
ufraw-batch --embedded-image --output=
--overwrite $1
convert -resize 128x128 /tmp/tmp_thumb.jpg $2
else
displayHelp
fi
fi
exit 0