When I compile my system with USE=tiff just for tiff-support Kphotoalbum can
When I compile my system with USE=tiff just for tiff-support Kphotoalbum can´t rea d Nef (Nikon raw files) right (haven't tryed other raw-format). The small thumbnail in the NEF-files that the camera use for viewing in the LCD is the only picture i get from does files. I think those tumbs are in some kind of tiff-format. Compiling with USE="-tiff" gives me korrekt NEF-view from kphotoalbum but, of course, I can't read my tiff-files.
When kdelib is compiled with USE=tiff kphotoalbum show all tiff-files right and Nef only show the small thumbnail from the camera LCD. When kdelib compiles with USE="-tiff" kphotoalbum show some tiff right and other not att all, possible lzw-compressed tiff-files. All Nefs shows right.
Please post your emerge --info
emerge --info Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.50GHz Gentoo Base System version 1.6.15 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo " LANG="sv_SE" LC_ALL="sv_SE.UTF-8" LINGUAS="sv" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acc acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cddb cdparanoia cdr cli crypt cups db2 dcraw dga dio directfb dlloader dri dvd dvdr dvdread eds emboss encode esd exif exiv2 ffmpeg firefox flac foomaticdb fortran ftp gdbm gif gimp glibc-omitfp glut gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog jbig jpeg jpeg2k kde kdeenablefinal kdexdeltas libg++ libwww lirc lm_sensors lzw mad mikmod mime mmx mng motif mp3 mpeg msn ncurses nls nptl ogg openal opengl oss pam pcmcia pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sqlite sse sse2 ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev ufraw unicode usb v4l vcd vorbis wifi win32codecs xml xmms xorg xpm xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_sv userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I see you have x86 in your keywords. Could you also paste `emerge -pv media-libs/libkexif media-gfx/exiv2 media-libs/libkipi kde-base/kdegraphics-kfile-plugins kde-base/kdegraphics`please?
emerge -pv media-libs/libkexif media-gfx/exiv2 media-libs/libkipi kde-base/kdegraphics-kfile-plugins kde-base/kdegraphics These are the packages that would be merged, in order: Calculating dependencies... done! [blocks B ] =kde-base/kdegraphics-3.5* (is blocking kde-base/kdegraphics-kfile-plugins-3.5.2) [blocks B ] =kde-base/kdegraphics-kfile-plugins-3.5* (is blocking kde-base/kdegraphics-3.5.2) [ebuild R ] media-libs/libkexif-0.2.3 USE="arts -debug -xinerama" 447 kB [ebuild R ] media-gfx/exiv2-0.10 USE="unicode -doc" 2,005 kB [ebuild R ] media-libs/libkipi-0.1.4 USE="arts -debug -kdehiddenvisibility -xinerama" 532 kB [ebuild N ] kde-base/kdegraphics-kfile-plugins-3.5.2 USE="arts kdeenablefinal -debug -kdehiddenvisibility -openexr -xinerama" 7,117 kB [ebuild R ] kde-base/kdegraphics-3.5.2 USE="arts imlib kdeenablefinal opengl pdf -debug -gphoto2 -kdehiddenvisibility -openexr -povray -scanner -tetex -xinerama" 6 kB Total size of downloads: 10,108 kB
I can confirm that kphotoalbum will only show the thumbnail of a .NEF. kdelibs had been built with USE="tiff".
From source code: void nef_parse_makernote (base) { int offset=0, entries, tag, type, count, val, save; unsigned serial=0, key=0; uchar buf91[630], buf97[608], buf98[31]; short sorder; char buf[10]; /* The MakerNote might have its own TIFF header (possibly with its own byte-order!), or it might just be a table. */
As in comment #1 there is some tiff support in kphotoalbum even when kdelibs are compiled USE="-tiff". But it can't read all tiffs. I think it's because of lzw-compression in the tiff file i usually use to save disk space. The wrong tiffs often shown as two parts as is grey and black.
I check the tiff support with kdelibs USE=-tiff using uncompressed and lzw compressed tiff-files. I found that kphotoalbum read the uncompressed files correct but not the lzw-compressed.
I fear this is an internal problem of the application. I'll request assistance upstream.
Requested help upstream.
link to requested help at bugs.kde.org http://bugs.kde.org/show_bug.cgi?id=130781
Resolving upstream.
Upstream bug is reported by Ioanis, so I guess I should ask here. Björn, could you please upload sample images that doesn't work or work only partially?
(In reply to comment #15) > Upstream bug is reported by Ioanis, so I guess I should ask here. Björn, could > you please upload sample images that doesn't work or work only partially? > Of course, but how? I could not upload the 5 MB Nef-file too this server because of a 1 MB limit for attachments. Do you know somewhere else to upload it or by email?
Feel free to send them to me and I'll make them available.
Thanks for your mail, let's continue at KDE's Bugzilla. If you want to follow, please CC yourself on bug 130781 there -- http://bugs.kde.org/show_bug.cgi?id=130781