Added commented out section that i need for getting channel and pixel.