Bug 247947

Summary: Images rotated with JPEGLossLess are shifted
Product: [Applications] digikam Reporter: Lars-Göran Thieme <lars-goeran>
Component: Plugin-DImg-JPEGAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 1.3.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 2.6.0
Attachments: The unrotated, unshifted source image
The rotated but shifted result image

Description Lars-Göran Thieme 2010-08-15 12:45:50 UTC
Created attachment 50573 [details]
The unrotated, unshifted source image

Version:           1.3.0 (using KDE 4.5.0) 
OS:                Linux

The result images of a JPEGLossLess rotation are shifted by some lines if the source image is rotated once to left or right in DigiKam 1.3.0 using the JPEGLossLess Kipi 1.3.0 module.

Reproducible: Always

Steps to Reproduce:
Rotate the attached org.jpg image in DigiKam with ctrl-shift-left shortcut, the thumbnail overlay icon or the image->rotate->left menu item.

Actual Results:  
The result image is rotated but at the bottom of the image there are some lines from the top of the image. It seems that the image is shifted by some lines up due the rotation.

Expected Results:  
An unshifted, rotated image. 

If i resize the source image the JPEGLossLess rotation works fine without shifting the result image.
Comment 1 Lars-Göran Thieme 2010-08-15 12:48:01 UTC
Created attachment 50574 [details]
The rotated but shifted result image
Comment 2 caulier.gilles 2011-12-21 10:24:48 UTC
Lars,

This file still valid using kipi-plugins 2.4 ?

Gilles Caulier
Comment 3 caulier.gilles 2012-01-25 10:12:56 UTC
This entry is fixed now with digiKam 2.6.0 where a dedicated implementation is
used to rotate/flip image. We don't use ImageMagick to transform images.

digiKam 2.6.0 disabled JPEGLOSSLESS kipi-plugin.

Gilles Caulier