Bug 222328

Summary: In-place rotation converts 16 bit TIFF to 8 bit
Product: [Applications] digikam Reporter: Sven Coenye <scoenye>
Component: Plugin-Bqm-RotateAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 1.1.0
Sentry Crash Report:

Description Sven Coenye 2010-01-12 05:02:36 UTC
Version:           1.0.0 (using KDE 4.3.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

The in-place rotate functions in the image context menu turn 16 bit TIFF files into 8 bit files. 

Expectation: 16 bit images should remain 16 bit.

Steps to reproduce:
- Click on a 16 bit/channel image in the thumbnail bar.
- Right click over the image in the main panel
- Select Rotate/Left or Rotate/Right
- The end result is an 8 bit/channel image

As the original file is overwritten, this bug is rather destructive.
Comment 1 Sven Coenye 2010-01-13 02:28:46 UTC
Correction: this appears to be a "feature" of the underlying utility, convert, as built by Debian in GraphicsMagick 1.3.5-6. This package does not support 16 bit/channel. Replacing GraphicsMagick  with the real ImageMagick fixes this issue.