Bug 218890

Summary: histogram max calculation range [patch]
Product: [Applications] digikam Reporter: Jens Mueller <tschenser>
Component: ImageEditor-CoreAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 1.0.0
Sentry Crash Report:
Attachments: PATCH

Description Jens Mueller 2009-12-16 07:45:57 UTC
Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    Ubuntu Packages

the range for max calculation in imagehistogram is to small (by one), this shows a black alpha histogram on an non-alpha-image
Comment 1 Jens Mueller 2009-12-16 07:46:23 UTC
Created attachment 39086 [details]
PATCH
Comment 2 caulier.gilles 2009-12-16 08:17:46 UTC
apply patch from Jens Mueller to fix alpha range and max histogram calculation
BUGS: 218890

  M  +12 -12    imagehistogram.cpp
  M  +1 -2      imagehistogram.h