Improved error message for invalid pngSegments.
ImageUtil