[Digikam-users] 16bit Tiff's: no thumbs + 4 questions for 0.9.0 svn
Daniel Bauer
linux at daniel-bauer.com
Fri May 26 09:16:30 BST 2006
Am Donnerstag, 25. Mai 2006 21:38 schrieb Caulier Gilles:
> Le Jeudi 25 Mai 2006 08:12 PM, Caulier Gilles a écrit :
> > > Don't know if this is a bug or a problem of my 0.9.0 svn-install:
> > >
> > > when saving a 16-bit TIFF there is no thumbnail for this picture.
> > > Only 8bit TIFF's get a thumbnail in the albums.
> >
> > I'm currently working in tiff loader in digiKam core to support better
> > exif/makernote/iptc during saving from editor (TIFF/EP compliant).
> >
> > I cannot reproduce this thumb problem with current implementation.
> > digikam kioslave witch perform thumbnails rendering support 16 bits
> > images (that konqueror don't support very well).
> >
> > Are you sure that you kioslave used by digiKam is really from 0.9.0 not
> > 0.8.x (when you mix both versions on a system for example)
Me, sure? :-)
typing locate gives:
a lot of entries in
/eigene/rpms-progs/digikam_svn/graphics/digikam/kioslave/
and subdirectories (thats where I have the svn-sources)
/etc/opt/kde3/share/config/kioslaverc
/opt/kde3/bin/kioslave
/opt/kde3/share/apps/kconf_update/kioslave.upd
/opt/kde3/share/apps/khelpcenter/plugins/kioslaves.desktop
a lot in
/opt/kde3/share/doc/HTML/
and subdirectories
plus a lot in:
/usr/src/debug/kdesdk-3.4.2/
/usr/src/debug/kdesdk-3.4.2/kioslave/svn
(I wonder about the number, because I use KDE 3.5.2)
finally this:
/var/adm/SuSEconfig/md5/etc/opt/kde3/share/config/kioslaverc
sorry, if this is not the info you need, please tell me how to find it...
>
> I have found a problem about ordering to load image data and icc profile/
> metadata with libtiff, especially with libtiff version > 3.6.1: all
> metadata need to be load _before_ image data.
>
> The current implementation work fine with libtiff 3.6.1, but i suspect a
> problem with recent libtiff release.
>
> The code is fixed in my computer, but i need to perform more advanced test
> before to commit...
>
> Just to confirm this point, witch libtiff release you use ?
I have installed the Suse rpm's libtiff & libtiff-devel 3.7.3-2
and locate says:
/usr/lib/libtiff.a
/usr/lib/libtiff.la
/usr/lib/libtiff.so
/usr/lib/libtiff.so.3
/usr/lib/libtiff.so.3.7.3
/usr/lib/libtiffxx.a
/usr/lib/libtiffxx.la
/usr/lib/libtiffxx.so
/usr/lib/libtiffxx.so.3
/usr/lib/libtiffxx.so.3.7.3
> Your broken
> tiff image thumb have an icc profile embedded ?
One yes, one no - both show no thumbnail in album (just white space)
>
> ALso, can you check in your ~/.xsession-errors file if you have some
> messages from digikam thumb kioslave, like this :
>
> kio_digikamthumbnail: /home/gilles/Documents/photos/Test
> Photograhs/JPEG/Vertical/MINOLTA-DYNAX5D.tif : TIFF file identified
> kio (KIOConnection): ERROR: Header read failed, errno=104
> kio (KIOConnection): ERROR: Header has invalid size (-1)
> kio (KLauncher): ERROR: SlavePool: No communication with slave.
> Warning: Upper boundary of data for directory Image, entry 0x0132 is out
> of bounds:
> Offset = 0x00b4aa3a, size = 20, exceeds buffer size by 1 Bytes; adjusting
> the size
> ...
>
> or something like that...
"kio (KIOConnection): ERROR: Header read failed, errno=104" etc. is somewhere
in the ~/.xsession-errors file, but I don't know from when these entries are.
I renamed to ~/.xsession-errors file and started a new session for the test
user, then started digikam.
The file looks like this: (*** = comments I added here)
*** starting session for user "test" ***
/etc/X11/xim: Checking wether an input method should be started.
INPUT_METHOD is not set or empty (no user selected input method).
Trying to start a default input method for the locale de_DE.UTF-8 ...
There is no default input method for the current locale.
xset: bad font path element (#259), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde3/lib/kde3/kcm_kdnssd.so:
undefined symbol: init_kdnssd
JACK compiled with POSIX SHM support
akode: Guessed format: xiph
KNotify::playTimeout
KNotify::playTimeout
KNotify::playTimeout
KNotify::playTimeout
KNotify::playTimeout
KNotify::playTimeout
KNotify::playTimeout
KNotify::playTimeout
libkonq: WARNING: Could not load
wallpaper /opt/kde3/share/apps/konqueror/tiles/
*** opening digikam: ***
digikam: ScanLib: Finding non-existing Albums: 4 ms
digikam: ScanLib: Finding items not in the database or disk: 262 ms
digikam: ScanLib: Updating items without date: 0 ms
digikam: Cannot parse EXIF metadata using Exiv2
KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore list
for host application
KIPI (loading): Plugin_JPEGLossless plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin JPEGLossless
KIPI (loading): Plugin_CDArchiving plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin CDArchiving
KIPI (loading): KIPI::PluginLoader: Loaded plugin ImagesGallery
KIPI (loading): Plugin_SendImages plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin SendImages
KIPI (loading): Plugin_FlickrExport plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin FlickrExport
KIPI (loading): Loaded Plugin_Calendar
KIPI (loading): KIPI::PluginLoader: Loaded plugin Calendar
KIPI (loading): Plugin_Mpegencoder plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin MPEGEncoder
KIPI (loading): Plugin_AcquireImages plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin AcquireImages
KIPI (loading): Plugin_GalleryExport plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin GalleryExport
KIPI (loading): Plugin_TimeAdjust plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin TimeAdjust
KIPI (loading): Plugin_FindImages plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin FindImages
KIPI (loading): Plugin_PrintWizard plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin PrintWizard
KIPI (loading): Plugin_WallPaper plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin WallPaper
KIPI (loading): Plugin_SlideShow plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin SlideShow
KIPI (loading): Plugin_BatchProcessImages plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin BatchProcessImages
KIPI (loading): Loaded RawConverter
KIPI (loading): KIPI::PluginLoader: Loaded plugin RawConverter
digikam: ImagePlugin_Core plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core
digikam: ImagePlugin_RainDrop plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_RainDrop
digikam: ImagePlugin_InPainting plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_InPainting
digikam: ImagePlugin_Infrared plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Infrared
digikam: ImagePlugin_Texture plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Texture
digikam: ImagePlugin_Border plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Border
digikam: ImagePlugin_OilPaint plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_OilPaint
digikam: ImagePlugin_InsertText plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_InsertText
digikam: ImagePlugin_Emboss plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Emboss
digikam: ImagePlugin_Unsharp plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Unsharp
digikam: ImagePlugin_HotPixels plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_HotPixels
digikam: ImagePlugin_AdjustLevels plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustLevels
digikam: ImagePlugin_ShearTool plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_ShearTool
digikam: ImagePlugin_Solarize plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Solarize
digikam: ImagePlugin_DistortionFX plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_DistortionFX
digikam: ImagePlugin_LensDistortion plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_LensDistortion
digikam: ImagePlugin_FilmGrain plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_FilmGrain
digikam: ImagePlugin_BlowUp plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_BlowUp
digikam: ImagePlugin_Restoration plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Restoration
digikam: ImagePlugin_SuperImpose plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_SuperImpose
digikam: ImagePlugin_Refocus plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Refocus
digikam: ImagePlugin_WhiteBalance plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_WhiteBalance
digikam: ImagePlugin_BlurFX plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_BlurFX
digikam: ImagePlugin_NoiseReduction plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Despeckle
digikam: ImagePlugin_AntiVignetting plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AntiVignetting
digikam: ImagePlugin_AdjustCurves plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_AdjustCurves
digikam: ImagePlugin_FreeRotation plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_FreeRotation
digikam: ImagePlugin_Perspective plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Perspective
digikam: ImagePlugin_ChannelMixer plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_ChannelMixer
digikam: ImagePlugin_Charcoal plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Charcoal
KFileMetainfo (plugins): rawimage plugin
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e00209
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x3600012
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x3600012
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x3600012
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x3600012
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e004b3
digikam: Cannot parse EXIF metadata using Exiv2
digikam: /home/test/digikampictures/Album3/6052_012.jpg : JPEG file identified
digikam: intent: 0
digikam: input profile: default no alpha
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e00727
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e0081b
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e0081b
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e0081b
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2e0081b
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e0081b
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e00877
digikam: Cannot parse EXIF metadata using Exiv2
digikam: /home/test/digikampictures/Album1/6057_009.cr2 : RAW file identified
Warning: Directory Canon has an unhandled next pointer.
Warning: Size 5352 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
digikam: Running dcraw command
(dcraw,-c,-4,-w,-a,-f,-n,-b,0.25,-q,0,/home/test/digikampictures/Album1/6057_009.cr2)
digikam: Dcraw StdErr: 0: No such file or directory
digikam: Parsed PPM header: width 2346 height 3520 rgbmax 15868
Warning: Directory Canon has an unhandled next pointer.
Warning: Size 5352 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
digikam: intent: 0
digikam: Cannot parse EXIF metadata using Exiv2
digikam: /home/test/digikampictures/Album1/6057_009-test.tiff : TIFF file
identified
Warning: Upper boundary of data for directory Image, entry 0x0131 is out of
bounds:
Offset = 0x02f477b0, size = 18, exceeds buffer size by 1 Bytes; adjusting the
size
digikam: intent: 0
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e00af0
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2e00007
*** end ***
If you need more/other info, please tell me how I can find it.
(I have updated the 0.9.0 svn yesterday morning)
regards
Daniel
--
Daniel Bauer photographer Basel Switzerland
professional photography: http://www.daniel-bauer.com
special interest site: http://www.bauer-nudes.com
More information about the Digikam-users
mailing list