Fixed processImage declaration