Bug 253702 - Under/overexposure indicator doesn't work on big-endian processors
Summary: Under/overexposure indicator doesn't work on big-endian processors
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ImageEditor-Canvas (show other bugs)
Version: 1.4.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-09 22:16 UTC by pochini
Modified: 2017-08-08 08:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.6.0


Attachments
Fix under/overexposure indicator on big-endian archs. (1.99 KB, patch)
2010-10-09 22:16 UTC, pochini
Details

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