[Digikam-devel] [Bug 150063] New: Rotating JPEG produces error and truncates original file

Paul Waldo pwaldo at waldoware.com
Fri Sep 21 14:04:47 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=150063         
           Summary: Rotating JPEG produces error and truncates original file
           Product: digikam
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: pwaldo waldoware com


Version:           0.9.2-final (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14.1)
Compiler:          Target: x86_64-linux-gnu
OS:                Linux (x86_64) release 2.6.20-16-generic

I downloaded a JPEG image (in portrait format) from my Canon Digital Rebel.  The thumbnail was rotated properly in Digikam.  I copied the source image to another location to do some work on it.  The copied image was not rotated; it appeared in landscape mode rotated 90 degrees.  I went back to digikam, right clicked the image and selected Rotate|Left.  I got an error dialog stating 
"Rotating image XXX.jpg.  
Failed to Rotate image.  
Cannot update source image".  

Note that files are stored on a CIFS share, but digikam database is stored locally with a symlink.

There are two issues here:
- For some reason the image could not be rotated.
- More importantly, the original image is allowed to be corrupted!



More information about the Digikam-devel mailing list