Bug 247947 - Images rotated with JPEGLossLess are shifted
Summary: Images rotated with JPEGLossLess are shifted
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-JPEG (show other bugs)
Version: 1.3.0
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-15 12:45 UTC by Lars-Göran Thieme
Modified: 2017-07-30 16:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.6.0


Attachments
The unrotated, unshifted source image (728.29 KB, image/jpeg)
2010-08-15 12:45 UTC, Lars-Göran Thieme
Details
The rotated but shifted result image (728.73 KB, image/jpeg)
2010-08-15 12:48 UTC, Lars-Göran Thieme
Details

Note You need to log in before you can comment on or make changes to this bug.
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