zhaojiahai / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

HuePicker control it's not shade color #241

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add HuePicker Control to windows form

What is the expected output? What do you see instead?
must show hue shade color and line bar same in IPLab, but show only line bar. 
No shade color.

(Sorry for my English.)

What version of the product are you using?
Aforge.NET 2.2.0

Original issue reported on code.google.com by thai...@gmail.com on 10 Aug 2011 at 9:53

GoogleCodeExporter commented 8 years ago
Nice bug. It has nothing to do with HuePicker control itself - it works fine 
and even draws the gradient. The problem is that it is completely transparent. 
The bug was introduced by AForge.Imaging, where alpha channel support was added 
into RGB structure recently.

Original comment by andrew.k...@gmail.com on 10 Aug 2011 at 6:04

GoogleCodeExporter commented 8 years ago
Fixing AForge.Imaging.RGB class, so by default alpha channel is initialized 
with 255 (not transparent). Also updated HSL and YCbCr converters to set alpha 
to 255.

Committed in revision 1563. Will be released in version 2.2.2.

Original comment by andrew.k...@gmail.com on 10 Aug 2011 at 6:10

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 18 Sep 2011 at 7:56