Bug 253702

Summary: Under/overexposure indicator doesn't work on big-endian processors
Product: [Applications] digikam Reporter: pochini
Component: ImageEditor-CanvasAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bastianholst
Priority: NOR    
Version: 1.4.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 1.6.0
Attachments: Fix under/overexposure indicator on big-endian archs.

Description pochini 2010-10-09 22:16:27 UTC
Created attachment 52378 [details]
Fix under/overexposure indicator on big-endian archs.

Version:           1.4.0 (using KDE 4.3.3) 
OS:                Linux

Under/overexposure indicator doesn't work on big-endian processors. The attached patch fixes the bug, but only in the main window and in the raw import tool. It does not fix (why?) the same bug in other tools (curves, levels, ...).


Reproducible: Always
Comment 1 caulier.gilles 2010-10-15 13:55:04 UTC
SVN commit 1186207 by cgilles:

fix endianess with over/under exposure indicator.
set over exposure limit to more than 1% of max histogram segment.
set under exposure limit to less than 1% of min histogram segment.
BUGS: 253702



 M  +52 -9     dimg.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1186207
Comment 2 caulier.gilles 2010-10-15 15:16:47 UTC
SVN commit 1186222 by cgilles:

perform over/under exposure indicator when convert to pixmap is used in image editor tool to render preview.
CCBUGS: 253702


 M  +18 -2     dimginterface.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1186222