Function gray from qttools
Brief description
gray(pixel:QtPixelRef):int
Converts a pixel reference to a grayvalue More ...
Function information
| Name: | gray |
| Base: | |
| Group: | Qt plugins:Image plugins |
| Icon: | qtimage.png |
| Color: | darkGreen |
| Authors: | Aless Lasaruk |
| Copyright: | (c) 2010 Aless Lasaruk |
Detailed description
Converts a pixel reference to a grayvalue
Input parameters
-
pixel:
QtPixelRef
- Pixel reference
Return values
-
Default return value:
int
- Gray color
