Summary: | Edit and Rotate in the Light Table open or change the wrong image | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Andrew Coles <andrew.i.coles> |
Component: | LightTable-Workflow | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, marcel.wiesweg, outlander2008 |
Priority: | NOR | ||
Version: | 2.4.1 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.6.0 | |
Sentry Crash Report: |
Description
Andrew Coles
2011-12-28 16:35:19 UTC
Andrew, I confirm. This is due to use JPEGLossLess kipi-plugin into LT. This one must be only used into albumGUI. Marcel, In fact this plugin have serious problem into digiKam now. I think to drop it in the future, and use already existing delegate code from digiKam core instead. We will talking about in Genoa, if this goal is fine for you. Gilles Caulier My current opinion would be: The kipi plugin uses either libjpeg for lossless rotate or ImageMagick. We should think to move the relevant libjpeg code to a place where we can use it directly, either a library (libkexiv2?) or digikam itself. Then for non-JPEGs, we should never use lossy ImageMagick rotation, but rotate either using the Exif flags, or, if impossible, the database. *** Bug 291070 has been marked as a duplicate of this bug. *** Marcel, Look this patch: http://digikam3rdparty.free.fr/misc.tarballs/transform4.patch It patch to use core code from digiKam for rotate operation processed from all context menu... It's not yet complete of course... Gilles Caulier Thank you Gilles, but I dont know to apply this patch... I'm sorry, please help me to get it working... Warning. The patch is not complete. But you can start to test it... For me it fix all rotation actions from contextual menus. To apply it against code from KDE git/master repostory : 1/ copy patch on root of digiKam source code dir. 2/ run "patch -p1 < transform4.patch" 3/ recompile and install digiKam. To cancel patch applied on source code, run "git reset --hard HEAD" Gilles Caulier ok Gilles, I think it's better for me to wait a new release... I'm not so "geek"... but I'll try it, anyway... Thank you Antonio Git commit 8ebc7c227c99dbf5da0b5c483baea94b1b901009 by Gilles Caulier. Committed on 13/01/2012 at 10:30. Pushed by cgilles into branch 'master'. Start to use digiKam core method to rotate left/right image using JPEGLOssLess method for JPEG files and DImg class for others image type. This commit do not replace yet kipi JPEGLOssLEss tool in main menu. It's planed later. Only all contextual menu are aptched. M +3 -5 digikam/items/digikamimageview.cpp M +0 -17 digikam/items/digikamimageview_p.cpp M +103 -9 digikam/metadata/fileactionmngr.cpp M +3 -1 digikam/metadata/fileactionmngr.h M +42 -19 digikam/metadata/fileactionmngr_p.h M +29 -35 digikam/utils/contextmenuhelper.cpp M +8 -11 digikam/utils/contextmenuhelper.h M +7 -16 digikam/views/digikamview.cpp M +2 -2 digikam/views/digikamview.h M +4 -28 digikam/views/imagepreviewview.cpp http://commits.kde.org/digikam/8ebc7c227c99dbf5da0b5c483baea94b1b901009 Git commit c737d5f631df4541751e9f6893e8bc1dbb208233 by Gilles Caulier. Committed on 13/01/2012 at 15:07. Pushed by cgilles into branch 'master'. disable JPEGLossLess kipi-plugin from digiKam. We use now the dedicated code from core implementation instead. M +0 -5 digikam/items/digikamimageview.cpp M +0 -1 digikam/items/digikamimageview.h M +88 -18 digikam/main/digikamapp.cpp M +3 -1 digikam/main/digikamapp.h M +7 -2 digikam/main/digikamapp_p.h M +4 -2 digikam/main/digikamui.rc M +8 -1 digikam/metadata/fileactionmngr.cpp M +1 -0 digikam/metadata/fileactionmngr.h M +6 -0 digikam/metadata/fileactionmngr_p.h M +17 -6 digikam/views/digikamview.cpp M +1 -0 digikam/views/digikamview.h http://commits.kde.org/digikam/c737d5f631df4541751e9f6893e8bc1dbb208233 |