Fixed the PNG predictor bug. Thanks to Gabor Molnar.