I\'m trying to convert source image (*.jpg .png *.bmp) to grayscale. First of all i\'m converting a QPixmap to QImage then i\'m changing color for each channel of pixel, set